connect

suspend fun connect(url: String, token: String, options: ConnectOptions = ConnectOptions())

Connect to a LiveKit Room.

Parameters

url
token
options

Throws

when connect is attempted while the room is not disconnected.

when connection fails

Sources

SDK source
Link copied to clipboard