Skip to content

On Call Media Reconnecting ​

Fired when the SDK has started reconnecting call media after interruption.

Event Registration ​

fun setOnCallMediaReconnectingListener(
  fn: (callId: String) -> Unit
): Subscription

Usage Example ​

client.setOnCallMediaReconnectingListener { legId ->
    println("Received call media reconnecting for Call $legId")
}

Event Data ​

ParameterTypeDescription
callIdstringIdentifier of the call being reconnected

Notes ​

  • Use this event to show in-call recovery state in the UI
  • Successful reconnection is indicated by onCallMediaReconnection

Built with VitePress.