get_body_buffer


Description:

[ CCode ( cname = "gst_rtsp_message_get_body_buffer" ) ]
[ Version ( since = "1.16" ) ]
public Result get_body_buffer (out unowned Buffer buffer)

Get the body of this.

buffer remains valid for as long as this is valid and unchanged.

If body data was set from raw memory instead of a Buffer this function will always return null. The caller can check if there is a body buffer by calling has_body_buffer.

Parameters:

this

a Message

buffer

location for the buffer

Returns:

OK.