Skip to content

SdkErrorCode

SdkErrorCode = "microphone_unavailable" | "audio_unavailable" | "network" | "transport_failed"

Codes the SDK raises itself, never sent by the service:

  • microphone_unavailable: the microphone is missing, blocked or in use.
  • audio_unavailable: the browser refused to play the voice (autoplay). Call VoiceSession.resumeAudio() from a click handler.
  • network: the network failed before a connection was made.
  • transport_failed: neither WebRTC nor the WebSocket could be set up.