Skip to main content
May 10, 2010
Question

NetStream.Buffer.Flush not correct

  • May 10, 2010
  • 1 reply
  • 5002 views

I am recording video with fms and a webcam. For some reason the  NetStream.Buffer.Flush gets fired way before the end of the video. This  doesn't occur with other videos that I haven't recorded myself.

Is  this a normal thing or am I missing something essential regarding the  recording?

    This topic has been closed for replies.

    1 reply

    May 11, 2010

    Hi,

    NetStream.Buffer.Flush means that Data has finished streaming, and the remaining buffer will be emptied and so this may come before playback is completed. Does your stream completes playback without any freeze, I mean does it play till the very end of the recorded video?

    Thanks,

    Abhishek

    May 11, 2010

    The video plays just fine. The problem is that netStream.time is incorrect because NetStream.Buffer.Flush sets it to the duration somewhere in the middle of the video. Very annoying!

    May 11, 2010

    I am not sure I got your use case correctly. Do you mean that you use NetStream.Buffer.Flush event for some action as to check when playback stops?

    Is that the case? Can you give me a little more info regarding your use case?

    Thanks,

    Abhishek