Create a buffer of the payload of the RTP packet in buffer.
buffer
This function will internally create a subbuffer of buffer so that a memcpy can be avoided.
the RTP packet
A new buffer with the data of the payload.