take_body_buffer


Description:

[ CCode ( cname = "gst_rtsp_message_take_body_buffer" ) ]
[ Version ( since = "1.16" ) ]
public Result take_body_buffer (owned Buffer buffer)

Set the body of this to buffer.

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

Parameters:

this

a Message

buffer

a Buffer

Returns:

OK.