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



_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to