Import line: | GstRtsp = imports.gi.GstRtsp; |
GIR File: | GstRtsp-0.10.gir |
C documentation: | GstRTSPConnection |
Struct : | RTSPConnection |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
clear_auth_params
()
:
none
Clear the list of authentication directives stored in conn.
Clear the list of authentication directives stored in conn.
|
GstRtsp.RTSPConnection | |
close
()
:
GstRtsp.RTSPResult
Close the connected conn.
Close the connected conn. After this call, the connection is in the same state as when it was first created.
|
GstRtsp.RTSPConnection | |
connect
(TimeVal timeout)
:
GstRtsp.RTSPResult
Attempt to connect to the url of conn made with gst_rtsp_connection_create().
Attempt to connect to the url of conn made with gst_rtsp_connection_create(). If timeout is NULL this function can block forever. If timeout contains a valid timeout, this function will return GST_RTSP_ETIMEOUT after the timeout expired. This function can be cancelled with gst_rtsp_connection_flush().
|
GstRtsp.RTSPConnection | |
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().
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(). If conn2 is NULL then only the base64 decoding context will be setup for
|
GstRtsp.RTSPConnection | |
flush
(Boolean flush)
:
GstRtsp.RTSPResult
Start or stop the flushing action on conn.
Start or stop the flushing action on conn. When flushing, all current and future actions on conn will return GST_RTSP_EINTR until the connection is set to non-flushing mode again.
|
GstRtsp.RTSPConnection | |
free
()
:
GstRtsp.RTSPResult
Close and free conn.
Close and free conn.
|
GstRtsp.RTSPConnection | |
get_ip
()
:
String
Retrieve the IP address of the other end of conn.
Retrieve the IP address of the other end of conn. connection is closed.
|
GstRtsp.RTSPConnection | |
get_readfd
()
:
Number
Get the file descriptor for reading.
Get the file descriptor for reading. descriptor remains valid until the connection is closed.
|
GstRtsp.RTSPConnection | |
get_tunnelid
()
:
String
Get the tunnel session id the connection.
Get the tunnel session id the connection.
|
GstRtsp.RTSPConnection | |
get_url
()
:
GstRtsp.RTSPUrl
Retrieve the URL of the other end of conn.
Retrieve the URL of the other end of conn. connection is freed.
|
GstRtsp.RTSPConnection | |
get_writefd
()
:
Number
Get the file descriptor for writing.
Get the file descriptor for writing. descriptor remains valid until the connection is closed.
|
GstRtsp.RTSPConnection | |
is_tunneled
()
:
Boolean
Get the tunneling state of the connection.
Get the tunneling state of the connection.
|
GstRtsp.RTSPConnection | |
next_timeout
(TimeVal timeout)
:
GstRtsp.RTSPResult
Calculate the next timeout for conn, storing the result in timeout.
Calculate the next timeout for conn, storing the result in timeout.
|
GstRtsp.RTSPConnection | |
Wait up to the specified timeout for the connection to become available for at least one of the operations specified in events.
Wait up to the specified timeout for the connection to become available for at least one of the operations specified in events. When the function returns with GST_RTSP_OK, revents will contain a bitmask of available operations on This function can be cancelled with gst_rtsp_connection_flush().
|
GstRtsp.RTSPConnection | |
Attempt to read size bytes into data from the connected conn, blocking up to the specified timeout.
Attempt to read size bytes into data from the connected conn, blocking up to the specified timeout. timeout can be NULL, in which case this function might block forever. This function can be cancelled with gst_rtsp_connection_flush().
|
GstRtsp.RTSPConnection | |
Attempt to read into message from the connected conn, blocking up to the specified timeout.
Attempt to read into message from the connected conn, blocking up to the specified timeout. timeout can be NULL, in which case this function might block forever. This function can be cancelled with gst_rtsp_connection_flush().
|
GstRtsp.RTSPConnection | |
reset_timeout
()
:
GstRtsp.RTSPResult
Reset the timeout of conn.
Reset the timeout of conn.
|
GstRtsp.RTSPConnection | |
Attempt to send message to the connected conn, blocking up to the specified timeout.
Attempt to send message to the connected conn, blocking up to the specified timeout. timeout can be NULL, in which case this function might block forever. This function can be cancelled with gst_rtsp_connection_flush().
|
GstRtsp.RTSPConnection | |
Configure conn for authentication mode method with user and pass as the user and password respectively.
Configure conn for authentication mode method with user and pass as the user and password respectively.
|
GstRtsp.RTSPConnection | |
Setup conn with authentication directives.
Setup conn with authentication directives. This is not necesary for methods GST_RTSP_AUTH_NONE and GST_RTSP_AUTH_BASIC. For GST_RTSP_AUTH_DIGEST, directives should be taken from the digest challenge in the WWW-Authenticate response header and can include realm, domain, nonce, opaque, stale, algorithm, qop as per RFC2617.
|
GstRtsp.RTSPConnection | |
set_http_mode
(Boolean enable)
:
none
By setting the HTTP mode to TRUE the message parsing will support HTTP messages in addition to the RTSP messages.
By setting the HTTP mode to TRUE the message parsing will support HTTP messages in addition to the RTSP messages. It will also disable the automatic handling of setting up an HTTP tunnel.
|
GstRtsp.RTSPConnection | |
set_ip
(String ip)
:
none
Set the IP address of the server.
Set the IP address of the server.
|
GstRtsp.RTSPConnection | |
Set the proxy host and port.
Set the proxy host and port.
|
GstRtsp.RTSPConnection | |
set_qos_dscp
(Number qos_dscp)
:
GstRtsp.RTSPResult
Configure conn to use the specified DSCP value.
Configure conn to use the specified DSCP value.
|
GstRtsp.RTSPConnection | |
set_tunneled
(Boolean tunneled)
:
none
Set the HTTP tunneling state of the connection.
Set the HTTP tunneling state of the connection. This must be configured before the conn is connected.
|
GstRtsp.RTSPConnection | |
Attempt to write size bytes of data to the connected conn, blocking up to the specified timeout.
Attempt to write size bytes of data to the connected conn, blocking up to the specified timeout. timeout can be NULL, in which case this function might block forever. This function can be cancelled with gst_rtsp_connection_flush().
|
GstRtsp.RTSPConnection |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GstRtsp
Method |
Accept a new connection on sock and create a new GstRTSPConnection for handling communication on new socket.
|
GstRtsp
Method |
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.RTSPWatch
Method |
new GstRtsp.RTSPWatch.c_new
(RTSPConnection conn, RTSPWatchFuncs funcs, void* user_data, Function notify)
:
GstRtsp.RTSPWatch
Create a new GstRtsp.RTSPWatch
|