get_payload_buffer


Description:

public Buffer get_payload_buffer ()

Create a buffer of the payload of the RTP packet in buffer.

This function will internally create a subbuffer of buffer so that a memcpy can be avoided.

Parameters:

this

the RTP packet

Returns:

A new buffer with the data of the payload.