[Speex-dev] How to reduce jitter buffer size?

Andy Ngo ndno72-speex at yahoo.com
Mon Jan 29 12:24:04 PST 2007


I looked at the jitter buffer code and it seems like the maximum number of frames
that Speex can hold up to is 200 (SPEEX_JITTER_MAX_BUFFER_SIZE).  This is
equivalent to 4 seconds (20msec/frame * 200 frames).  Can I just reduce this
constant to limit the size?  I know I'll reduce the smoothness of delayed frames
but I want to reduce the delay in case my audio application isn't servicing the
frames in time and hence the delay will grow as more frames are queued up.  I
pretty real time voice if there's a little interruption in the voice stream.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070129/2a41d2dc/attachment.htm

More information about the Speex-dev mailing list