Add header to be appended to any HTTP request made by connection. If the header already exists then the old header is replaced by the new header.
Clear the list of authentication directives stored in conn.
Close the connected conn. After this call, the connection is in the same state as when it was first created.
Attempt to connect to the url of conn made with gstrtsp.rtspconnection.RTSPConnection.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.
Attempt to connect to the url of conn made with gstrtsp.rtspconnection.RTSPConnection.create. If timeout is 0 this function can block forever. If timeout contains a valid timeout, this function will return #GST_RTSP_ETIMEOUT after the timeout expired.
Attempt to connect to the url of conn made with gstrtsp.rtspconnection.RTSPConnection.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. If conn is set to tunneled, response will contain a response to the tunneling request messages.
Attempt to connect to the url of conn made with gstrtsp.rtspconnection.RTSPConnection.create. If timeout is 0 this function can block forever. If timeout contains a valid timeout, this function will return #GST_RTSP_ETIMEOUT after the timeout expired. If conn is set to tunneled, response will contain a response to the tunneling request messages.
If conn received the first tunnel connection and conn2 received the second tunnel connection, link the two connections together so that conn manages the tunneled connection.
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.
Get the ignore_x_server_reply value.
Retrieve the IP address of the other end of conn.
Get the file descriptor for reading.
Get the TLS connection of conn.
Gets the anchor certificate authorities database that will be used after a server certificate can't be verified with the default certificate database.
Gets a #GTlsInteraction object to be used when the connection or certificate database need to interact with the user. This will be used to prompt the user for passwords where necessary.
Gets the TLS validation flags used to verify the peer certificate when a TLS connection is established.
Get the tunnel session id the connection.
Retrieve the URL of the other end of conn.
Get the file descriptor for writing.
Get the tunneling state of the connection.
Calculate the next timeout for conn, storing the result in timeout.
Calculate the next timeout for conn
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 conn.
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 conn.
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.
Attempt to read size bytes into data from the connected conn, blocking up to the specified timeout. timeout can be 0, in which case this function might block forever.
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.
Attempt to read into message from the connected conn, blocking up to the specified timeout. timeout can be 0, in which case this function might block forever.
Reset the timeout of conn.
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.
Attempt to send messages to the connected conn, blocking up to the specified timeout. timeout can be null, in which case this function might block forever.
Attempt to send messages to the connected conn, blocking up to the specified timeout. timeout can be 0, in which case this function might block forever.
Attempt to send message to the connected conn, blocking up to the specified timeout. timeout can be 0, in which case this function might block forever.
Sets a custom accept-certificate function for checking certificates for validity. This will directly map to #GTlsConnection 's "accept-certificate" signal and be performed after the default checks of #GstRTSPConnection (checking against the #GTlsDatabase with the given #GTlsCertificateFlags) have failed. If no #GTlsDatabase is set on this connection, only func will be called.
Configure conn for authentication mode method with user and pass as the user and password respectively.
Setup conn with authentication directives. This is not necessary 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.
Configure conn to use the specified Content-Length limit. Both requests and responses are validated. If content-length is exceeded, ENOMEM error will be returned.
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.
Set whether to ignore the x-server-ip-address header reply or not. If the header is ignored, the original address will be used instead.
Set the IP address of the server.
Set the proxy host and port.
Configure conn to use the specified DSCP value.
Sets if the #GstRTSPConnection should remember the session id from the last response received and force it onto any further requests.
Sets the anchor certificate authorities database. This certificate database will be used to verify the server's certificate in case it can't be verified with the default certificate database first.
Sets a #GTlsInteraction object to be used when the connection or certificate database need to interact with the user. This will be used to prompt the user for passwords where necessary.
Sets the TLS validation flags to be used to verify the peer certificate when a TLS connection is established.
Set the HTTP tunneling state of the connection. This must be configured before the conn is connected.
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.
Attempt to write size bytes of data to the connected conn, blocking up to the specified timeout. timeout can be 0, in which case this function might block forever.
Accept a new connection on socket and create a new #GstRTSPConnection for handling communication on new socket.
Create a newly allocated #GstRTSPConnection from url and store it in conn. The connection will not yet attempt to connect to url, use gstrtsp.rtspconnection.RTSPConnection.connect.
Create a new #GstRTSPConnection for handling communication on the existing socket socket. The initial_buffer contains zero terminated data already read from socket which should be used before starting to read new data.
This object manages the RTSP connection to the server. It provides function to receive and send bytes and messages.