Back to Seed Clases

GstRtsp


Classes

Interfaces

Structs

Unions

Enums

Enum GstRtsp.RTSPResult

Import line: GstRtsp = imports.gi.GstRtsp;
GIR File: GstRtsp-0.10.gir
C documentation: GstRTSPResult
Enum : RTSPResult
  Show / Hide Inherited methods, properties and signals
Result codes from the RTSP functions.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GstRtsp
Method
GstRtsp.connection_accept (Number sock, RTSPConnection conn) : GstRtsp.RTSPResult
Accept a new connection on sock and create a new GstRTSPConnection for handling communication on new socket.
GstRtsp
Method
GstRtsp.connection_create (RTSPUrl url, RTSPConnection conn) : GstRtsp.RTSPResult
Create a newly allocated GstRTSPConnection from url and store it in conn.
GstRtsp
Method
GstRtsp.connection_create_from_fd (Number fd, String ip, Number port, String initial_buffer, RTSPConnection conn) : GstRtsp.RTSPResult
Create a new GstRTSPConnection for handling communication on the existing file descriptor fd.
GstRtsp
Method
GstRtsp.range_parse (String rangestr, RTSPTimeRange range) : GstRtsp.RTSPResult
Parse rangestr to a GstRTSPTimeRange.
GstRtsp
Method
GstRtsp.strresult (RTSPResult result) : String
Convert result in a human readable string.
GstRtsp
Method
GstRtsp.transport_free (RTSPTransport transport) : GstRtsp.RTSPResult
Free the memory used by transport.
GstRtsp
Method
GstRtsp.transport_get_manager (RTSPTransMode trans, Array manager, Number option) : GstRtsp.RTSPResult
Get the GStreamer element that can handle the buffers transported over It is possible that there are several managers available, use option to selected one.
GstRtsp
Method
GstRtsp.transport_get_mime (RTSPTransMode trans, Array mime) : GstRtsp.RTSPResult
Get the mime type of the transport mode trans.
GstRtsp
Method
GstRtsp.transport_init (RTSPTransport transport) : GstRtsp.RTSPResult
Initialize transport so that it can be used.
GstRtsp
Method
GstRtsp.transport_new (RTSPTransport transport) : GstRtsp.RTSPResult
Allocate a new initialized GstRTSPTransport.
GstRtsp
Method
GstRtsp.transport_parse (String str, RTSPTransport transport) : GstRtsp.RTSPResult
Parse the RTSP transport string str into transport.
GstRtsp
Method
GstRtsp.url_parse (String urlstr, RTSPUrl url) : GstRtsp.RTSPResult
Parse the RTSP urlstr into a newly allocated GstRTSPUrl.
GstRtsp.RTSPConnection
Method
connect (TimeVal timeout) : GstRtsp.RTSPResult
Attempt to connect to the url of conn made with gst_rtsp_connection_create().
GstRtsp.RTSPConnection
Method
close () : GstRtsp.RTSPResult
Close the connected conn.
GstRtsp.RTSPConnection
Method
free () : GstRtsp.RTSPResult
Close and free conn.
GstRtsp.RTSPConnection
Method
read (String data, Number size, TimeVal timeout) : GstRtsp.RTSPResult
Attempt to read size bytes into data from the connected conn, blocking up to the specified timeout.
GstRtsp.RTSPConnection
Method
write (String data, Number size, TimeVal timeout) : GstRtsp.RTSPResult
Attempt to write size bytes of data to the connected conn, blocking up to the specified timeout.
GstRtsp.RTSPConnection
Method
send (RTSPMessage message, TimeVal timeout) : GstRtsp.RTSPResult
Attempt to send message to the connected conn, blocking up to the specified timeout.
GstRtsp.RTSPConnection
Method
receive (RTSPMessage message, TimeVal timeout) : GstRtsp.RTSPResult
Attempt to read into message from the connected conn, blocking up to the specified timeout.
GstRtsp.RTSPConnection
Method
poll (RTSPEvent events, RTSPEvent revents, TimeVal timeout) : GstRtsp.RTSPResult
Wait up to the specified timeout for the connection to become available for at least one of the operations specified in events.
GstRtsp.RTSPConnection
Method
next_timeout (TimeVal timeout) : GstRtsp.RTSPResult
Calculate the next timeout for conn, storing the result in timeout.
GstRtsp.RTSPConnection
Method
reset_timeout () : GstRtsp.RTSPResult
Reset the timeout of conn.
GstRtsp.RTSPConnection
Method
flush (Boolean flush) : GstRtsp.RTSPResult
Start or stop the flushing action on conn.
GstRtsp.RTSPConnection
Method
set_proxy (String host, Number port) : GstRtsp.RTSPResult
Set the proxy host and port.
GstRtsp.RTSPConnection
Method
set_auth (RTSPAuthMethod method, String user, String pass) : GstRtsp.RTSPResult
Configure conn for authentication mode method with user and pass as the user and password respectively.
GstRtsp.RTSPConnection
Method
set_qos_dscp (Number qos_dscp) : GstRtsp.RTSPResult
Configure conn to use the specified DSCP value.
GstRtsp.RTSPConnection
Method
do_tunnel (RTSPConnection conn2) : GstRtsp.RTSPResult
If conn received the first tunnel connection and conn2 received the second tunnel connection, link the two connections together so that After this call, conn2 cannot be used anymore and must be freed with gst_rtsp_connection_free().
GstRtsp.RTSPExtension
Method
before_send (RTSPMessage req) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
after_send (RTSPMessage req, RTSPMessage resp) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
parse_sdp (SDPMessage sdp, Structure s) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
setup_media (SDPMedia media) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
get_transports (RTSPLowerTrans protocols, Array transport) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
stream_select (RTSPUrl url) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
receive_request (RTSPMessage req) : GstRtsp.RTSPResult
GstRtsp.RTSPExtension
Method
GstRtsp.RTSPMessage
Method
init () : GstRtsp.RTSPResult
Initialize msg.
GstRtsp.RTSPMessage
Method
unset () : GstRtsp.RTSPResult
Unset the contents of msg so that it becomes an uninitialized GstRTSPMessage again.
GstRtsp.RTSPMessage
Method
free () : GstRtsp.RTSPResult
Free the memory used by msg.
GstRtsp.RTSPMessage
Method
init_request (RTSPMethod method, String uri) : GstRtsp.RTSPResult
Initialize msg as a request message with method and uri.
GstRtsp.RTSPMessage
Method
parse_request (RTSPMethod method, Array uri, RTSPVersion version) : GstRtsp.RTSPResult
Parse the request message msg and store the values method, uri and value.
GstRtsp.RTSPMessage
Method
init_response (RTSPStatusCode code, String reason, RTSPMessage request) : GstRtsp.RTSPResult
Initialize msg with code and reason.
GstRtsp.RTSPMessage
Method
parse_response (RTSPStatusCode code, Array reason, RTSPVersion version) : GstRtsp.RTSPResult
Parse the response message msg and store the values code, reason and value.
GstRtsp.RTSPMessage
Method
init_data (Number channel) : GstRtsp.RTSPResult
Initialize a new data GstRTSPMessage for channel.
GstRtsp.RTSPMessage
Method
parse_data (String channel) : GstRtsp.RTSPResult
Parse the data message msg and store the channel in channel.
GstRtsp.RTSPMessage
Method
add_header (RTSPHeaderField field, String value) : GstRtsp.RTSPResult
Add a header with key field and value to msg.
GstRtsp.RTSPMessage
Method
take_header (RTSPHeaderField field, String value) : GstRtsp.RTSPResult
Add a header with key field and value to msg.
GstRtsp.RTSPMessage
Method
remove_header (RTSPHeaderField field, Number indx) : GstRtsp.RTSPResult
Remove the indx header with key field from msg.
GstRtsp.RTSPMessage
Method
get_header (RTSPHeaderField field, Array value, Number indx) : GstRtsp.RTSPResult
Get the indx header value with key field from msg.
GstRtsp.RTSPMessage
Method
append_headers (String str) : GstRtsp.RTSPResult
Append the currently configured headers in msg to the GString str suitable for transmission.
GstRtsp.RTSPMessage
Method
set_body (String data, Number size) : GstRtsp.RTSPResult
Set the body of msg to a copy of data.
GstRtsp.RTSPMessage
Method
take_body (String data, Number size) : GstRtsp.RTSPResult
Set the body of msg to data and size.
GstRtsp.RTSPMessage
Method
get_body (Object out_values) : GstRtsp.RTSPResult
Get the body of msg.
GstRtsp.RTSPMessage
Method
steal_body (Object out_values) : GstRtsp.RTSPResult
Take the body of msg and store it in data and size.
GstRtsp.RTSPMessage
Method
dump () : GstRtsp.RTSPResult
Dump the contents of msg to stdout.
GstRtsp.RTSPUrl
Method
set_port (Number port) : GstRtsp.RTSPResult
Set the port number in url to port.
GstRtsp.RTSPUrl
Method
get_port (Object out_values) : GstRtsp.RTSPResult
Get the port number of url.
GstRtsp.RTSPWatch
Method
write_data (String data, Number size, Object out_values) : GstRtsp.RTSPResult
Write data using the connection of the watch.
GstRtsp.RTSPWatch
Method
send_message (RTSPMessage message, Object out_values) : GstRtsp.RTSPResult
Send a message using the connection of the watch.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:03 GMT+0800 (HKT)