Set the payload type of the RTP packet in buffer to payload_type.
buffer
payload_type
the RTP packet
the new type