Rate this page:

AudioDeviceEventTypes

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

Constants

DeviceChanged

Copy URL

Event is triggered when active audio device or audio device that will be used for a further call is changed. The handler function receives an 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

Event is triggered when a new audio device is connected or previously connected audio device is disconnected. The handler function receives an event with the following parameters as an argument.

Parameters

  • name:

    string

    Name of the event

  • newDeviceList:

    AudioDevice[]

    List of currently available audio devices.