RTSPMessage.takeBodyBuffer

gstrtsp.types.RTSPResult takeBodyBuffer(gst.buffer.Buffer buffer) nothrow

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.

Parameters

buffera #GstBuffer

Returns

#GST_RTSP_OK.