ccrtp-devel
[Top][All Lists]
Advanced

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

[Ccrtp-devel] How to get RTP timestamp ?


From: Supriya Kher
Subject: [Ccrtp-devel] How to get RTP timestamp ?
Date: Mon, 5 May 2008 15:09:22 -0400




 Hi , 


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 ----------

RTPSession *session;
uint32 timestamp =  session->getCurrentTimestamp();

Does this call return the session's timestamp or is it the recvd RTPPacket's timestamp ???
I assume ,  its the former. Correct me if am wrong in that.

Well In that case, how am I supposed to access the RTPTimestamp of the recvd media packet ?


kindly help
Supriya



reply via email to

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