RTSPMessage.takeBodyBuffer
gstrtsp.types.RTSPResult takeBodyBuffer(gst.buffer.Buffer buffer) nothrowSet 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
buffer | a #GstBuffer |
Returns
#GST_RTSP_OK.