connect

suspend fun connect(reconnectDetails: ERROR CLASS: Symbol not found for ReconnectDetails?? = null, options: List<ERROR CLASS: Symbol not found for PublishOption>? = null)

Deprecated

Use connectInternal() which returns SfuConnectionResult instead of throwing.

Replace with

connectInternal(reconnectDetails, options)

Public entry point kept for backward compatibility. Delegates to connectInternal and throws on failure.

Prefer connectInternal which returns a typed SfuConnectionResult instead of throwing, enabling exhaustive when handling.