Rate this page:

AudioDeviceEventTypes

Events that may be used to monitor and handle audio device change events.

Constants

DeviceChanged

Copy URL

Triggered when the active audio device or the audio device that is to be used for a further call is changed. Handler function receives the event with the following parameters as an argument.

Parameters

  • currentDevice:

    AudioDevice

    Audio device to be used

  • name:

    string

    Name of the event

DeviceListChanged

Copy URL

Triggered when a new audio device is connected or a previously connected audio device is disconnected. Handler function receives the event with the following parameters as an argument.

Parameters

  • name:

    string

    Name of the event.

  • newDeviceList:

    AudioDevice[]

    List of currently available audio devices.