Search code examples
actionscript-3flashapache-flexflex4.5rtmpd

Prevent flushing the buffer


How can I prevent the flushing of the buffer until the playing is finished in AS3?

Is it possible?

The buffer is emptied and flushed 10-11 seconds before the real end of the flv file.

The file is locally saved and I stream it though crtmp server.

I cannot seek the last 10 seconds because of empty buffer. How can I stop flash from flushing the buffer at end?


Solution

  • In case you create your own flash based player, I think you should use the proper signal handlers to signal end-of-stream.

    Also, I'm not experiencing that problem. Just to test it, use JWPlayer or FlowPlayer and see if you can seek around. On my side, everything works as expected