RTPBuffer.getPayload

glib.bytes.Bytes getPayload()

Similar to gst_rtp_buffer_get_payload, but more suitable for language bindings usage. The return value is a pointer to a #GBytes structure containing the payload data in rtp.

Returns

A new #GBytes containing the payload data in rtp.