[Speex-dev] Prebuffering best practices

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Tue Jun 14 21:01:45 PDT 2005


Have you looked at the Speex (adaptive) jitter buffer? See
speex_jitter.h

	Jean-Marc
 
Le mardi 14 juin 2005 à 17:50 -0700, David Barrett a écrit :
> What is the best way to pick a prebuffering length for a streaming audio 
> application using UDP transport?
> 
> I'm using Speex in a VoIP application with RTP transport, currently with 
> a fixed 500ms prebuffer on the playback side.  However, I'd like 
> something a bit more adaptive to accomodate high-jitter connections.
> 
> For example, in one test configuration there is a very low average 
> round-trip latency (50ms), but it spikes all over the place (sometimes 
> 10ms, sometimes 500ms).  Thus I can't make my prebuffer duration 
> proportional to latency, but somehow proportional to "jitter".  But I'm 
> not sure the best way to quantify this, nor how to tranform that into a 
> reasonable prebuffer length.
> 
> Thus I'm curious what experience you've had in this area, and what you 
> can recommend as a good way to adaptively compute a prebuffer duration. 
>   Thanks!
> 
> -david
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
-- 
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Université de Sherbrooke



More information about the Speex-dev mailing list