Skip to main content
Participant
May 23, 2011
Question

i got NetStream.play.stop before it reaches the end of the playback

  • May 23, 2011
  • 1 reply
  • 1323 views

i have application that streams videos from fms .i try to play video of 240 seconds, but when playback reaches 180 seconds i got NetStream.play.stop . it happens regularly at the same time.why does it happen? is it encoding of the video?  or some thing else?

thanks in advance

    This topic has been closed for replies.

    1 reply

    Inspiring
    May 23, 2011

    Listen for NetStream.Play.Complete instead ignore play.stop

    Nikhil_Kalyan
    Participating Frequently
    May 24, 2011

    Hi,

    NetStream.Play.Stop event is genereted/sent by the server as soon as it finishes sending the last bytes as well. So when the server sends the stop message, the player might still be playing from its buffer. Since the events are asynchronous , this might as well happen. Listening to Play.Complete is also a good alternative. In your case you have 60 sec of difference and i don't think you have tht much of a big buffer set.


    Is it happening with only a particular video ? If so, You can attach/send us so that we can take a look. Thank you !

    Participant
    May 24, 2011

    thank you very much Nikhil. we use following files as adaptive bitrate streaming, we noticed that the files duration is not the same, can this affect on adaptive streaming?

    tvinci.cdnetworks.net/bftv/BF205031_US_4.m4v

    tvinci.cdnetworks.net/bftv/BF205031_US_8.m4v

    tvinci.cdnetworks.net/bftv/BF205031_US_13.m4v