Reputation: 2773
I have a flash player that I use for streaming prerecorded flv sounds. I have forward and backward buttons which seek forward/backward into the sound while playing.
The problem I get is that when I use shorter sound like 30 seconds, when 10 seconds near the end I get this message from the player "NetStream.Buffer.flush" which in turns does this "Data has finished streaming, and the remaining buffer is emptied", so I cannot seek near end of the file.
How can I fix this?
I already put inBufferSeek to true and set bufferTime to 5.
Is this problem with Flash/As3 or it is something with the server? (I use crtmp opensource server)
Upvotes: 0
Views: 845
Reputation: 323
Nothing to do with presence/absence of key frames. It is purely flash-side. Seeking should work just fine. Here is a demonstration [http://pastebin.com/raw.php?i=LYTNy7xR]
Upvotes: 1