ccrtp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: [Ccrtp-devel] How to block on incoming queue?


From: Federico Montesino Pouzols
Subject: Re: Fwd: [Ccrtp-devel] How to block on incoming queue?
Date: Thu, 25 May 2006 13:00:16 +0200
User-agent: Mutt/1.5.11+cvs20060403

On Wed, May 24, 2006 at 04:36:47AM +0200, Yaniv Levy wrote:
> I understand now. This is the way to have a jitter and reorder buffer? draw
> packets from  the incoming queue just after it has been accumulating data
> for some time?
> OK, but this says that I should wait X msec at the application start, and
> draw only one packet each time, at a fixed rate (use an external timer), to
> avoid emptying the queue. Am I correct?

Yes, you're correct. It is quite common in VoIP and similar
applications. You usually know (or can easily compute) the expected
timestamp for the next packet, so waiting a bit at the beginning to
provide some jitter buffer and asking for packets by timestamp at a
fixed rate is a scheme that usually works quite well.

Anyway, adding some jitter buffer (basic at least) is in the TODO
list, so if you have any further requirement or proposal, just propose
your ideas.

> (for some reason i thought that the jitter buffer and reorder was internal
> to the queue, and  that  it will not give you packets unless its over the
> jitter buffer designated delay/accumulation level).
> 
> Thank you,
> Yaniv
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]