take_body


Description:

[ CCode ( cname = "gst_rtsp_message_take_body" ) ]
public Result take_body (owned uint8[] data)

Set the body of this to data and data.length.

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

Parameters:

this

a Message

data

the data

size

the size of data

Returns:

OK.