ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] How to get the raw RTP packet buffer?


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] How to get the raw RTP packet buffer?
Date: Tue, 11 Apr 2006 11:08:25 +0200
User-agent: Mutt/1.5.11+cvs20060126

Hi, Milong...

On Thu, Apr 06, 2006 at 04:38:27PM +0800, Milong wrote:
> Hi, ccrtp-devel, 
> 
> How can I get the buffer which include the whole RTP packet buffer from ccRtp?
> As far as I know, RTPSession::getData() can get the rtp payload.
> But I want to get the buffer witch include the rtp header and rty payload.
> Please advise. Thanks.
> 

I think IncomingRTPPacket::getRawPacket is what you are looking
for. If you want to do low level processing on raw packets just after
receiving them, the onRTPPacketRecv(IncomingRTPPkt&) virtual method of
input queues is probably a good place to do so.

The IncomingRTPPkt class also provides methods for accessing all
fields in RTP headers.

> Best Regards,
> 
> Milong
> 
> 2006-04-06





reply via email to

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