connect

abstract suspend fun connect(): Result<Unit>

Connects to the server and starts publishing or playback in the configured mode.

Return

Success when the session starts, or a failure describing the connection error.