RTSPMessage.takeBodyBuffer

Set the body of msg to buffer. This method takes ownership of buffer. Any existing body or body buffer will be replaced by the new body.

class RTSPMessage
takeBodyBuffer

Parameters

buffer gst.buffer.Buffer

a #GstBuffer

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK.