bind

suspend fun CoroutineSrtSocket.bind(url: String)

Binds the socket to a local address.

See Also: srt_bind

Parameters

url

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

Throws

if bind has failed


suspend fun CoroutineSrtSocket.bind(srtUrl: SrtUrl)

Binds the socket to a local address.

See Also: srt_bind

Parameters

srtUrl

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

Throws

if bind has failed


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

Binds the socket to a local address.

See Also: srt_bind

Parameters

address

the address to bind to

port

the port to bind to

Throws

if bind has failed


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

Binds the socket to a local address.

See Also: srt_bind

Parameters

address

the InetAddress to bind to

port

the port to bind to

Throws

if bind has failed