Skip to main content
Inspiring
November 16, 2006
Question

FLV delayed start

  • November 16, 2006
  • 1 reply
  • 538 views
Hello,

I am streaming an FLV from FMS. There seems to be a delay from when the buffering period ends and when the FLV begins playback. I know that 'playing' state doesn't fire automatically when the FLV begins playback, but I can't figure out why there is a delay in between the buffer period and the start of playback. Any thoughts?

Thanks!
    This topic has been closed for replies.

    1 reply

    November 17, 2006
    I'm guessing you're basing this on the info code returned from the netstream.onStatus event.

    The netstream.onStatus event will return a code of netstream.play.start as soon as the stream.play() method is invoked. What you're waiting for is the netstream.buffer.full info code.

    Inspiring
    November 17, 2006
    Actually, I am using the FLVPlayback component only because it allows me to add cue points to it via ActionScript. With the NetStream object, the cue points have to be embedded into the FLV. Attaching the cue points via ActionScript allows me more flexibility when cues need to change. I have not seen any documentation of being able to do this with the NetStream object. So, my delay problem is happening between the buffering state and the actual playback of the FLV using the FLVPlayback component. I have read in some of your past posts that you aren't a fan of using components but any information you might have would be greatly appreciated.

    Thank you.
    November 17, 2006
    Yeah... I don't use the components. I don't have anything against them... it just seems like there are always a lot of hoops to jump through to get them to do what you want them to. A while back I took a look through some of the component classes to see if I could bend them to work the way I wanted, but it quickly became apparent that it's just easier nad less time consuming for me to start from the ground up.

    If I come across anything about your problem, I'll be sure to post it.