Skip to main content
Participant
December 26, 2010
Question

NetStream.Buffer.Flush when the video is paused?

  • December 26, 2010
  • 1 reply
  • 1902 views

Hi guys,

I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:

Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay.

I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91, and the streaming server is FMS4.

I've been in this bad problem for a long time, but after taking a searching, I didn't see any of the same problems is solved. It's greatly appreciated if you could give any help.

Pine

    This topic has been closed for replies.

    1 reply

    MePineAuthor
    Participant
    December 28, 2010

    Could anybody help?

    I asked a friend who is more familiar with fms, he also don't quite know this. But he thinks it is meant to be like this for some reason. But I don't get the reason...

    Participating Frequently
    January 3, 2011

    I think when you pause you do get the message but actually the buffer is not flushed from the player version you stated (i know its bit confusing though) - so you ignore that Buffer.Flush message.You will get another NetStream.Buffer.Flush message following the one you are getting if it really flushes your bugger due to long pause (you can refer the documentation about how long that would be)

    MePineAuthor
    Participant
    January 5, 2011

    Thanks SE,

    You are right. It doesn't do the flushing.