Hi Jean-Marc, Thanks for your response. Given a worst case scenario, what is the "worst case" latency (in terms of Speex frames) that the jitter buffer algorithm will incur? We're trying to determine the worst case hard number. Sorry for unclear question below; what I was trying to ask is that given a worst case latency (which I'm asking in the first question) inherent in using the jitter buffer feature, is that any way in the code to reduce the latency? Thanks. Regards, Andy ----- Original Message ---- From: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> To: Andy Ngo <ndno72-speex@yahoo.com> Cc: speex-dev@xiph.org Sent: Sunday, January 13, 2008 1:00:50 AM Subject: Re: [Speex-dev] Jitter buffer latency The latency changes. It's set to the minimum value that will ensure packets arrive in time. Not sure what you mean by "is there a way to strink the "late" and "early" bin number to keep the latency in check?". Jean-Marc Andy Ngo a ?crit :> Hi, > > Our project is using the jitter buffer feature built in Speex. We > noticed there are some latency when using the jitter buffer. Does > anyone know what is the "worst case" latency inherent in the jitter > buffer algorithm? I believe someone already mentioned that it's > adaptive but is there a worst case hard number (in terms of 20ms > Speex frames)? I'm not familiar with the jitter buffer code (there > doesn't seem to be any white paper on the jitter buffer feature); is > there a way to strink the "late" and "early" bin number to keep the > latency in check? Thanks in advance. > > Regards, Andy > > > > >------------------------------------------------------------------------> > > _______________________________________________ Speex-dev mailing > list Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20080114/fa55a10d/attachment.htm
The "worst case" as you call it is just your network jitter plus probably one frame. Jean-Marc Andy Ngo a ?crit :> Hi Jean-Marc, > > Thanks for your response. Given a worst case scenario, what is the "worst case" latency (in terms of Speex frames) that the jitter buffer algorithm will incur? We're trying to determine the worst case hard number. Sorry for unclear question below; what I was trying to ask is that given a worst case latency (which I'm asking in the first question) inherent in using the jitter buffer feature, is that any way in the code to reduce the latency? Thanks. > > Regards, > Andy > > ----- Original Message ---- > From: Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> > To: Andy Ngo <ndno72-speex@yahoo.com> > Cc: speex-dev@xiph.org > Sent: Sunday, January 13, 2008 1:00:50 AM > Subject: Re: [Speex-dev] Jitter buffer latency > > > The latency changes. It's set to the minimum value that will ensure > packets arrive in time. Not sure what you mean by "is there a way to > strink the "late" and "early" bin number to keep the latency in > check?". > > Jean-Marc > > Andy Ngo a ?crit : >> Hi, >> >> Our project is using the jitter buffer feature built in Speex. We >> noticed there are some latency when using the jitter buffer. Does >> anyone know what is the "worst case" latency inherent in the jitter >> buffer algorithm? I believe someone already mentioned that it's >> adaptive but is there a worst case hard number (in terms of 20ms >> Speex frames)? I'm not familiar with the jitter buffer code (there >> doesn't seem to be any white paper on the jitter buffer feature); is >> there a way to strink the "late" and "early" bin number to keep the >> latency in check? Thanks in advance. >> >> Regards, Andy >> >> >> >> >> > ------------------------------------------------------------------------ >> >> _______________________________________________ Speex-dev mailing >> list Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev > > > >