Skip to main content
Participant
5월 23, 2011 12:28 오후 UTC
공지사항

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

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

    이 주제는 답변이 닫혔습니다.

    4 답변

    Inspiring
    5월 23, 2011 11:18 오후 UTC

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

    번역
    Nikhil_Kalyan
    Participating Frequently
    5월 24, 2011 4:16 오전 UTC

    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 !

    번역
    Maria_Sigal작성자
    Participant
    5월 24, 2011 7:42 오전 UTC

    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

    번역