[Speex-dev] Who is using the jitter buffer?

Thorvald Natvig speex at natvig.com
Mon Mar 20 12:11:24 PST 2006

> I'd like know about anyone using the current jitter buffer in Speex. I'm
> planning on changing it to make it more general and I'd like some
> feedback about how to make it better. Also, let me know if you're doing
> anything serious with it and want to make sure I don't break your stuff.
> Basically, I want to make the jitter buffer easier to use with other
> codecs and reduce the latency. This would require either changing the
> API or adding a new one (depending on the feedback I get and how many
> people use it).

I'm currently using the jitter buffer in Mumble, but if you want to make 
changes go right ahead, I can just change the places where I've plugged in 
the jitter buffer.

If users are bandwidth-constrained, I provide an option for putting 
several individual speex packets in one UDP packet. While I'm not sure, I 
do believe the jitter buffer would probably benefit from knowing that 
packets always come in pairs.

Also, it would be beneficial if a "minimum safety" could be set, below 
which the jitter buffer would not adapt (ie: always maintain at least 40ms 
of buffer). Some users have requested this.

.. And equally important; during discontignous transmission, in which 
there may be small communication pauses (of either 3 seconds or several 
minutes), it would be beneficial if the jitter buffer remembered it's 
current estimates instead of resetting to the default.

But I must say that it really does work well at the moment, at least from 
the "minimizing latency" point of view :)

More information about the Speex-dev mailing list