RTSPConnection.connectWithResponse
gstrtsp.types.RTSPResult connectWithResponse(glib.time_val.TimeVal timeout, gstrtsp.rtspmessage.RTSPMessage response)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.
This function can be cancelled with [gstrtsp.rtspconnection.RTSPConnection.flush].
Parameters
timeout | a GTimeVal timeout |
response | a #GstRTSPMessage |
Returns
#GST_RTSP_OK when a connection could be made.