Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AudioDeviceChangeEvent

Payload emitted by CXoneVoiceClient.onAudioDeviceChange when the browser audio device list changes during a voice session. Subscribe to react to device changes and implement custom recovery flows.

Hierarchy

  • AudioDeviceChangeEvent

Index

Properties

activeDeviceDisconnected: boolean

True if the previously active microphone/speaker is no longer present in the device list

autoFailoverSucceeded: boolean

True if automatic failover to a replacement device succeeded

fallbackInputLabel: string

Label of the fallback input device selected during auto-failover, or null if not applicable

fallbackOutputLabel: string

Label of the fallback output device selected during auto-failover, or null if not applicable

inputs: MediaDeviceInfo[]

Current list of available audio input (microphone) devices after the change

outputs: MediaDeviceInfo[]

Current list of available audio output (speaker) devices after the change

Generated using TypeDoc