RTPBuffer.getPayloadBuffer

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.

class RTPBuffer
getPayloadBuffer
()

Return Value

Type: gst.buffer.Buffer

A new buffer with the data of the payload.