SrtSocket

constructor()

Creates an SRT socket.

You shall assert that the SRT socket is valid with isValid

See Also: srt_create_socket


constructor(af: StandardProtocolFamily)

Deprecated

Use Socket() instead

Replace with

Socket()

Deprecated version of SrtSocket constructor. Argument is ignored. Also, it crashes on old Android version (where StandardProtocolFamily does not exist).

You shall assert that the SRT socket is valid with isValid.

See Also: srt_socket