Does it mean that after evaluating the jitter for a given source, the stack will wait for a short while after it receives a packet, and before providing it to the app, to be sure it won't receive a newer packet ?
Otherwise I don't understand how the reordering can work. If packet 2 arrives before packet 1 and if getData(getFirstTimestamp()) is called still before packet 1 is received, there won't be any reordering. Can you give me some light ? -- Claude On Mon, 2005-02-07 at 17:04 +0100, Federico Montesino Pouzols wrote: > 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 <[EMAIL PROTECTED]>: > > > > > > > > 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 > > > > [email protected] > > > > http://lists.gnu.org/mailman/listinfo/ccrtp-devel > > > > > > > > > > > > > > > _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel -- _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
