ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Finding out packet timestamps


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] Finding out packet timestamps
Date: Mon, 7 Feb 2005 17:04:40 +0100
User-agent: Mutt/1.5.6+20040907i

Yes, getFirstTimestamp will always return the timestamp of the first
packet in the queue, and the queue is transparently ordered. That's
why you do not need direct access to the packet timestamp in the most
external interface. ccRTP handles reordering. 

On Mon, Feb 07, 2005 at 09:30:20AM -0500, Sebastien Cote wrote:
> Hi Frederico,
> 
> You are right, that would solve my problem. Another question: if I keep 
> calling
> getData() with the timestamp returned by getFirstTimestamp(), can I be sure I
> will get the packets in the right order or do I need my own jitter buffer?
> 
> And is there any reason the timestamp isn't available from the AppDataUnit? To
> me, it's seems as useful as the packet size.
> 
> Thanks a lot,
> 
> 
> Sebastien
> 
> 
> Quoting Federico Montesino Pouzols <address@hidden>:
> 
> >
> > Hi, getFirstTimestamp provides the timestamp of the first available
> > packet (the older one) in the incoming queue. Would it work for you?
> > Do yo need to know the timestamp of other packets?
> >
> > On Fri, Feb 04, 2005 at 02:04:42PM -0500, Sebastien Cote wrote:
> > > Hi,
> > >
> > > I'm new to ccRTP and I'm trying to figure out how the listener should get
> > the
> > > timestamp for a packet/adu.
> > >
> > > I couldn't find anything, so right now I've added a getTimestamp() method
> > to the
> > > AppDataUnit class which returns datablock->getTimestamp(). This way I can
> > call
> > > getTimestamp() on each ADU I receive. The first ADU gives me the constant
> > > offset which is added to each timestamp.
> > >
> > > Could anybody give me advice on the right way to do this? Please CC me any
> > reply
> > > since I'm not a member of this list.
> > >
> > > Thank you,
> > >
> > > Sebastien Cote
> > >
> > >
> > > _______________________________________________
> > > Ccrtp-devel mailing list
> > > address@hidden
> > > http://lists.gnu.org/mailman/listinfo/ccrtp-devel
> >
> >
> 
> 
> 




reply via email to

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