RTPBuffer.getPayloadBuffer
gst.buffer.Buffer 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.
Returns
A new buffer with the data of the payload.