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