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].

Parameters

bufferlocation for the buffer

Returns

#GST_RTSP_OK.