WMA streaming delay

Started by Ingolf,

Ingolf

Is there anything I can do about the 5 seconds pre-buffering when streaming WMA data? I'm building a conversation app, and noticing that someone spoke to you 5 seconds ago is not acceptable...

Ian @ un4seen

I'm not sure there's anything that can be done about the delay - it's there in Media Player too. If you want low latency, you could use MP3 encoding instead, and set a small net buffer (BASS_SetNetConfig).

Ingolf

Yeah, I thought about that, but using your built-in methods is so much easier! :)

With mp3 encoding, I'll have to set up the connection myself, encode it using some kind of encoder like Lame encoder, and then transfer it. Then use BASS on the client to open the stream and use SetNetConfig to set a small buffering value, right?

Ian @ un4seen

Yep, that's pretty much it, except set the buffer length before opening the stream :)

Others that have done this have gotten down to less than 1 second latency.

Ingolf

Nice! Let's do that then! Thank you...