Prevent flushing the buffer

256 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

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