Hi there,

I'm new to flash video streaming, and I just made it clear of the
differences between the progressive video and streaming video *^_^*

But I do need a feature of allowing buffering the video when it's paused,
which I cannot find how to do it directly...

I followed an article (
http://www.adobe.com/devnet/flashmediaserver/articles/fms_dual_buffering.html)
to manage the buffer strategy but it didn't solve my problem.

My problem is: if the user has a very slow network condition, he/she might
want to just pause the video manually, and wait it to be downloaded until
it's 'pretty much', and he/she can watch it without interrupting.

But 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 for the streaming server, I use red5. And if
you're interested with my code, here it is: http://pastebin.com/kwTfiEH9

I'm now totally confused. Any push is appreciated very much!

Pine

-- 
祝愉快

杜彬
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to