ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] How to get RTP timestamp ?


From: Martin Runge
Subject: Re: [Ccrtp-devel] How to get RTP timestamp ?
Date: Sun, 1 Jun 2008 10:40:00 +0200
User-agent: KMail/1.9.9

Hi .*,

I do it like this:

  int time_stamp = getFirstTimestamp();
  const AppDataUnit* adu = getData(time_stamp);

after the call, the RTP timestamp is in "time_stamp" and adu points to the 
packet.

Martin


Am Montag, 5. Mai 2008 21:09:22 schrieb Supriya Kher:
> I am a new user of ccrtp, and would need some help on this -
>
> Similar to the approach used in your samples - audiorx.cpp
> I create an RTPSession object, and receive the packets sent from a remote
> destination, using getData.
>
> I want to get the RTP timestamp of the recvd RTPPacket.
> Is there a way to get the RTPPacket's timestamp value ? as AppDataUnit or
> its subclasses do not seem to give me any such APIs.
>
> ALso , I need a clarification ----------


Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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