RTSPMessage.setBodyBuffer

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

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

Parameters

buffera #GstBuffer

Returns

#GST_RTSP_OK.