0

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?

loxxy
  • 12,990
  • 2
  • 25
  • 56
Vlad
  • 2,739
  • 7
  • 49
  • 100
  • I think you can't stop buffer from flushing data. Instead why don't you add up the whole data together and only after that start to write the file. – Gio Aug 10 '12 at 11:37

1 Answers1

1

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

shiretu
  • 303
  • 2
  • 10
  • Yes but buffer gets emptied i.e I get "Done streaming file" message in my streaming server log. So I cannot seek empty buffer. What do you think, this is a server issue? – Vlad Sep 09 '12 at 20:04