join

fun join(url: String, meetingToken: MeetingToken? = null, clientSettings: ClientSettingsUpdate? = null, listener: RequestListenerWithData<CallJoinData>)

Joins a room with the specified URL. Optionally, a meeting token and client settings update may also be specified.

If not null, the client settings update is applied on top of any pre-configured settings when joining a call, as if CallClient.updateInputs and/or CallClient.updatePublishing were invoked on this object with the provided settings. If no settings are provided, the currently configured or default ones apply.

The provided callback (listener) will be invoked either when the room is joined, or if an error occurred during the join operation.

The framework expects the required audio/video permissions to have been granted prior to calling this method.

Emits the CallClientListener.onCallStateUpdated event.