RTSPConnection.connectUsec

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.

This function can be cancelled with gstrtsp.rtspconnection.RTSPConnection.flush.

class RTSPConnection
connectUsec
(
long timeout
)

Parameters

timeout long

a timeout in microseconds

Return Value

Type: gstrtsp.types.RTSPResult

#GST_RTSP_OK when a connection could be made.