Displaying 1 result from an estimated 1 matches for "buffer_margin".
2008 Sep 15
1
Jitter Buffer issues
...insure all voice packets are delivered to
the user. I must use UDP for the Full Duplex link to minimize latency.
When I use UDP I also use the Speex Jitter Buffer. I have run into some
issues when using it.
My first problem is minor with jitter_buffer_init(int step_size). The
initialization of buffer_margin I think this should be 1 not 0.
/*FIXME: Should this be 0 or 1?*/
jitter->buffer_margin = 0;
With it set to 0 there is a problem if jitter_buffer_get() is called
before jitter_buffer_put(). This cause all packets to be discarded due
to every new packet being late. With jitter->...