Add a header with key field and value to msg. This function takes a copy of value.
Add a header with key header and value to msg. This function takes a copy of value.
Append the currently configured headers in msg to the #GString str suitable for transmission.
Allocate a new copy of msg and store the result in copy. The value in copy should be release with gst_rtsp_message_free function.
Dump the contents of msg to stdout.
Get the body of msg. data remains valid for as long as msg is valid and unchanged.
Get the body of msg. buffer remains valid for as long as msg is valid and unchanged.
Get the indx header value with key field from msg. The result in value stays valid as long as it remains present in msg.
Get the index header value with key header from msg. The result in value stays valid as long as it remains present in msg.
Get the message type of msg.
Checks if msg has a body and the body is stored as #GstBuffer.
Initialize a new data #GstRTSPMessage for channel.
Initialize msg as a request message with method and uri. To clear msg again, use gstrtsp.rtspmessage.RTSPMessage.unset.
Initialize msg with code and reason.
Initialize msg. This function is mostly used when msg is allocated on the stack. The reverse operation of this is gstrtsp.rtspmessage.RTSPMessage.unset.
Parses the credentials given in a WWW-Authenticate or Authorization header.
Parse the data message msg and store the channel in channel.
Parse the request message msg and store the values method, uri and version. The result locations can be null if one is not interested in its value.
Parse the response message msg and store the values code, reason and version. The result locations can be null if one is not interested in its value.
Remove the indx header with key field from msg. If indx equals -1, all headers will be removed.
Remove the index header with key header from msg. If index equals -1, all matching headers will be removed.
Set the body of msg to a copy of data. Any existing body or body buffer will be replaced by the new body.
Set the body of msg to buffer. Any existing body or body buffer will be replaced by the new body.
Take the body of msg and store it in data and size. After this method, the body and size of msg will be set to null and 0 respectively.
Take the body of msg and store it in buffer. After this method, the body and size of msg will be set to null and 0 respectively.
Set 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.
Add a header with key field and value to msg. This function takes ownership of value.
Add a header with key header and value to msg. This function takes ownership of value, but not of header.
Unset the contents of msg so that it becomes an uninitialized #GstRTSPMessage again. This function is mostly used in combination with gstrtsp.rtspmessage.RTSPMessage.initRequest, gstrtsp.rtspmessage.RTSPMessage.initResponse and gstrtsp.rtspmessage.RTSPMessage.initData on stack allocated #GstRTSPMessage structures.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
Provides methods for creating and parsing request, response and data messages.