Re: How to get RTP timestamp ?

Martin Runge <[email protected]> Sun, 1 Jun 2008 10:40:00 +0200
Newsgroups gmane.comp.gnu.ccrtp.devel
Message-ID <[email protected]>
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 ----------

_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel
signature.asc (application/pgp-signature, 827 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQIVAwUASEJgaGA0kvpfv12hAQJkcA//URisM3revStMjbQbaa8rUqXTAVS0s+K/
f16CJc3vaIrqmdSBApT5xz9ZH2f50laW+ijh1KTQtov5wSRE9IDhPuvxsHG66Uu9
nEcOU8D+4ItHgw8qbBZbA3ZzsIJo7XCZpQxnw+oJz+4X9qvB9VM2muo17CqbJZnC
28J/77LqJoYqz9edn8IfDPAo6qwuDZC1yH3GvsWAhkYCMgJ/gL/QrkCZbfw36Hjr
hN6WdLCo7NWuFX67ScPc0F/RqgM4oLtQQoWt8jlIe9ElGpS72qH0XEFe2ScltOCX
K+Tj+vgDwJ4MUbhGVnaB6JE9B3g5rjytDjmyl6a2BA2g/kCVFbPU2eOiS+cXeYt+
iCxw6FsKG4jm7yapwLoXV+spvlAR4rJDTSADtBWHWgu1zS9O0AKrvjzcfAdZu35J
8knTaIGCXjFwKY2fa2jsAtbRCUvznIPu/Ho8I15hp29cOFFKVm1etal1eZkkgpBm
JJ0nMuH3ps/9kxVdlVMRFuWghWgXuYNDlWXiFv1VPDJO8WiYqZO+pg9IXUZAgO86
aNwPltsy2vAn9hL3pQ9CZfkvYNK6QQOM3y+SylhVFZAwMFZ4N1WsZK1muKCAV52R
z2S5aoC/QjsyMlBpNpV7ynEWBGO/Ly8P1ya/hP7Rzee1r8L3TSDdcJSaxTSWXU6t
cRbL8qYzGRU=
=Gcec
-----END PGP SIGNATURE-----