CallJoinInterceptor

Controls when a ringing call transitions to RingingState.Active.

Implement this to insert custom logic (e.g. waiting for user confirmation) between the publisher peer connection becoming ready and the call going active. Has no effect on non-ringing joins (livestream, direct join).

Functions

Link copied to clipboard
abstract suspend fun callReadyToJoin(call: Call)

Called when the SDK is ready to transition to RingingState.Active. Suspend here to delay the transition; return to allow it to proceed.