Import line: | GstRtsp = imports.gi.GstRtsp; |
GIR File: | GstRtsp-0.10.gir |
C documentation: | GstRTSPMessage |
Struct : | RTSPMessage |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
body : void*
|
GstRtsp.RTSPMessage | |
body_size : Number
|
GstRtsp.RTSPMessage | |
hdr_fields : GLib.Array
|
GstRtsp.RTSPMessage | |
type : GstRtsp.RTSPMsgType
|
GstRtsp.RTSPMessage |
Method / Constructor | Defined By | |
---|---|---|
new GstRtsp.RTSPMessage
()
Create a new GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
|
||
Create a new GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
|
||
Create a new GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
|
||
new GstRtsp.RTSPMessage.request
(RTSPMessage msg, RTSPMethod method, String uri)
:
GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
|
||
new GstRtsp.RTSPMessage.response
(RTSPMessage msg, RTSPStatusCode code, String reason, RTSPMessage request)
:
GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
Create a new GstRtsp.RTSPMessage
|
||
Add a header with key field and value to msg.
Add a header with key field and value to msg. This function takes a copy of value.
|
GstRtsp.RTSPMessage | |
append_headers
(String str)
:
GstRtsp.RTSPResult
Append the currently configured headers in msg to the GString str suitable for transmission.
Append the currently configured headers in msg to the GString str suitable for transmission.
|
GstRtsp.RTSPMessage | |
dump
()
:
GstRtsp.RTSPResult
Dump the contents of msg to stdout.
Dump the contents of msg to stdout.
|
GstRtsp.RTSPMessage | |
free
()
:
GstRtsp.RTSPResult
Free the memory used by msg.
Free the memory used by msg.
|
GstRtsp.RTSPMessage | |
get_body
(Object out_values)
:
GstRtsp.RTSPResult
Get the body of msg.
Get the body of msg. data remains valid for as long as msg is valid and unchanged.
|
GstRtsp.RTSPMessage | |
Get the indx header value with key field from msg.
Get the indx header value with key field from msg. The result in value stays valid as long as it remains present in msg. was not found.
|
GstRtsp.RTSPMessage | |
init
()
:
GstRtsp.RTSPResult
Initialize msg.
Initialize msg. This function is mostly used when msg is allocated on the stack. The reverse operation of this is gst_rtsp_message_unset().
|
GstRtsp.RTSPMessage | |
init_data
(Number channel)
:
GstRtsp.RTSPResult
Initialize a new data GstRTSPMessage for channel.
Initialize a new data GstRTSPMessage for channel.
|
GstRtsp.RTSPMessage | |
Initialize msg as a request message with method and uri.
Initialize msg as a request message with method and uri. To clear msg again, use gst_rtsp_message_unset().
|
GstRtsp.RTSPMessage | |
Initialize msg with code and reason.
Initialize msg with code and reason. When reason is NULL, the default reason for code will be used. When request is not NULL, the relevant headers will be copied to the new response message.
|
GstRtsp.RTSPMessage | |
parse_data
(String channel)
:
GstRtsp.RTSPResult
Parse the data message msg and store the channel in channel.
Parse the data message msg and store the channel in channel.
|
GstRtsp.RTSPMessage | |
Parse the request message msg and store the values method, uri and value.
Parse the request message msg and store the values method, uri and value.
|
GstRtsp.RTSPMessage | |
Parse the response message msg and store the values code, reason and value.
Parse the response message msg and store the values code, reason and value.
|
GstRtsp.RTSPMessage | |
Remove the indx header with key field from msg.
Remove the indx header with key field from msg. If indx equals -1, all headers will be removed.
|
GstRtsp.RTSPMessage | |
Set the body of msg to a copy of data.
Set the body of msg to a copy of data.
|
GstRtsp.RTSPMessage | |
steal_body
(Object out_values)
:
GstRtsp.RTSPResult
Take the body of msg and store it in data and size.
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.
|
GstRtsp.RTSPMessage | |
Set the body of msg to data and size.
Set the body of msg to data and size. This method takes ownership of
|
GstRtsp.RTSPMessage | |
Add a header with key field and value to msg.
Add a header with key field and value to msg. This function takes ownership of value.
|
GstRtsp.RTSPMessage | |
unset
()
:
GstRtsp.RTSPResult
Unset the contents of msg so that it becomes an uninitialized GstRTSPMessage again.
Unset the contents of msg so that it becomes an uninitialized GstRTSPMessage again. This function is mostly used in combination with gst_rtsp_message_init_request(), gst_rtsp_message_init_response() and gst_rtsp_message_init_data() on stack allocated GstRTSPMessage structures.
|
GstRtsp.RTSPMessage |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GstRtsp
Method |
Get the message type of msg.
|
GstRtsp.RTSPConnection
Method |
Attempt to send message to the connected conn, blocking up to the specified timeout.
|
GstRtsp.RTSPConnection
Method |
Attempt to read into message from the connected conn, blocking up to the specified timeout.
|
GstRtsp.RTSPExtension
Method |
detect_server
(RTSPMessage resp)
:
Boolean
|
GstRtsp.RTSPExtension
Method |
before_send
(RTSPMessage req)
:
GstRtsp.RTSPResult
|
GstRtsp.RTSPExtension
Method |
|
GstRtsp.RTSPExtension
Method |
receive_request
(RTSPMessage req)
:
GstRtsp.RTSPResult
|
GstRtsp.RTSPExtension
Method |
|
GstRtsp.RTSPWatch
Method |
Send a message using the connection of the watch.
|
GstRtsp.RTSPWatch
Method |
queue_message
(RTSPMessage message)
:
Number
Queue a message for transmission in watch.
|