connect

open suspend override fun connect(connection: SrtConnectionDescriptor)

Connect to an SRT server with correct Live streaming parameters. To avoid creating an unresponsive UI, do not call on main thread.

Parameters

connection

the SRT connection

Throws

if connection has failed or configuration has failed