[Speex-dev] jitter buffer

Ashhar Farhan farhan at phonestack.com
Tue Nov 16 04:24:35 PST 2004


jitter varioues from application to application and network to network.
let me give you an instance from my own work.

i am using speex in a voip application that has to work on gprs 
connection. the gprs gives just 9.6 kpbs up. hence, i have an upper limit 
of 6kpbs on the codec and not more than 5 udp packets per sec. that means, 
putting in 10 speex frames in every rtp packet.

i need to jitter compensate for about 50 msec, but that necessarily means 
holding back 10 frames in the buffer before the next packet arrives. oth, 
the desktop version will have to dynamically track the settle on rtp 
packet size by retraining itself with the incoming stream.

i needed info on two topics:

1) how can i use the VAD at an application level? i would like to make my 
voip application send packets only when the user speaks and at that point 
i would like to cut off my playback to avoid echo (voice operated 
transmit/receive changeover).

2) can i control the echo delay ?

- farhan


More information about the Speex-dev mailing list