Skip to main content
Known Participant
February 15, 2010
Answered

How to buffer entire file while streaming

  • February 15, 2010
  • 1 reply
  • 473 views

Hi,

I have a service running off a FMS and I was wondering how I would get a stream to keep downloading the rest of the file even while streaming. For example, like YouTube downloads the entire video while you're watching it, much like Progressive Download does but I want that from my streaming server. How would I go about doing this?

Or even better than that, if I could buffer at least 20 seconds ahead of the current stream position. If I use NetStream.setBufferTime(20) - the stream doesn't play until at least 20 seconds has been buffered, but I want it so that it will play even though it hasn't buffered completely, but will keep buffering while streaming.

Thanks

    This topic has been closed for replies.
    Correct answer

    A good place to start:

    http://www.adobe.com/devnet/flashmediaserver/articles/fms_dual_buffering.html

    1 reply

    Correct answer
    February 16, 2010

    A good place to start:

    http://www.adobe.com/devnet/flashmediaserver/articles/fms_dual_buffering.html