connect

Connects a socket to an URL.

See Also: srt_connect

Parameters

url

the URL to connect to in FFmpeg format srt://hostname:port?options

Throws

if connection has failed


suspend fun CoroutineSrtSocket.connect(srtUrl: SrtUrl)

Connects a socket to an URL.

See Also: srt_connect

Parameters

srtUrl

the URL to connect to in FFmpeg format srt://hostname:port?options

Throws

if connection has failed


suspend fun CoroutineSrtSocket.connect(address: String, port: Int)

Connects a socket to a specified address and port.

See Also: srt_connect

Parameters

address

the address to connect to

port

the port to connect to

Throws

if connection has failed


suspend fun CoroutineSrtSocket.connect(address: InetAddress, port: Int)

Connects a socket to a specified address and port.

See Also: srt_connect

Parameters

address

the InetAddress to connect to

port

the port to connect to

Throws

if connection has failed