join

fun join(url: String, displayName: String? = null, peerId: String? = null): SerenadaSession

Join a call using a full URL (e.g., "https://serenada.app/call/ABC123").

Parameters

peerId

optional host-supplied stable identity for this user (distinct from the per-call client ID). Surfaced on remote participants so the call UI can resolve avatars via SerenadaCallFlowConfig.avatarProvider.


fun join(roomId: String, serverHost: String? = resolvedConfig.serverHost, displayName: String? = null, peerId: String? = null): SerenadaSession

Join a call using a room ID.

Parameters

peerId

optional host-supplied stable identity — see the URL join overload.