[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] Finding out packet timestamps
From: |
Sebastien Cote |
Subject: |
Re: [Ccrtp-devel] Finding out packet timestamps |
Date: |
Mon, 7 Feb 2005 09:30:20 -0500 |
User-agent: |
Internet Messaging Program (IMP) 3.2.6 |
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
>
>