Question

I'm trying to use FlowPlayer to play an audio livestream on my web page (or to be more precise, my web application). The page containing both application and player is supposed to be kept open for long times, like hours, and after a bunch of test I realized the player keeps buffering the audio stream and playing it with delay every time some package was missing (I suppose this happened because of package missing due to instability of my connection). After a bunch of hours, from the original 1-2 second, the stream had piled up something like 30-35 seconds delay.

So, what I'm trying to achieve is: anytime some missing package would cause a delay in the audio stream, the audio stream would avoid this error, even causing the audio to jump, but without piling up any delay.

I searched all over the documentation and the only information about this argument I was able to find was about the buffer length. I actually set the bufferLength to 2, due to my real-time needs (with the default 3 value I had a base 5-6 second delay, not acceptable for the kind of application I'm trying to run), but I can't get a sure method to avoid delay piling.

I catch my real-time stream from a Wowza 2.0 server, using RTMP protocol.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top