RTSPMessage.getBodyBuffer

Get the body of msg. buffer remains valid for as long as msg is valid and unchanged.

If body data was set from raw memory instead of a #GstBuffer this function will always return null. The caller can check if there is a body buffer by calling gstrtsp.rtspmessage.RTSPMessage.hasBodyBuffer.

class RTSPMessage
getBodyBuffer

Parameters

buffer gst.buffer.Buffer

location for the buffer

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK.