Results 1 to 3 of 3

Thread: need help in inject cue point

  1. #1
    Join Date
    Apr 2011

    Default need help in inject cue point

    Hi friends,

    i used this document to inject cuepoints into live stream. i have got working with LiveVideoStreaming player. i am using wowza server 2. i need to implement this with Strobe media player.

    i did following change in class PlaybackOptimizationMetrics(netStream:NetStream).

    public function PlaybackOptimizationMetrics(netStream:NetStream)
    // Retrieve the metadata from the NetStream
    NetClient(netStream.client).addHandler(NetStreamCodes.ON_CUE_POINT, setCaption);
    function setCaption(value:Object):void


    NetClient(netStream.client).removeHandler(NetStreamCodes.ON_CUE_POINT, setCaption);
    // We assume that the asset metadata has the most accurate value,
    // that's why we overwrite any existing value.

    // audiodatarate and videodatarate are set in kilobits. We need to transform it to bytes.
    averagePlaybackBytesPerSecond = StrobeUtils.kbitsPerSecond2BytesPerSecond(value.audiodatarate + value.videodatarate);
    duration = value.duration;

    its not working. i dont know how to get working in SMP? any idea?


  2. #2
    Join Date
    Dec 2007


    I don't know. I can show you how to do it Wowza Flash players or JW Player, but not sure about OSMF framework or Strobe for this.

    I would search Strobe source code to see where they are doing similar and extend that. Somewhere they must be, I suppose, creating an Object and attaching it to the NetStream.client.


  3. #3
    Join Date
    Apr 2011


    Thanks richard... i got it.

Similar Threads

  1. Is it possible to inject cue point in live stream dvr?
    By divyat in forum AddOn: Wowza nDVR
    Replies: 5
    Last Post: 12-18-2012, 07:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts