AudioDeviceEventTypes
Events that may be used to monitor and handle audio device change events.
Constants
DeviceChanged
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:
Audio device to be used
name:
string
Name of the event
DeviceListChanged
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:
List of currently available audio devices.