Interface that may be used to monitor and handle audio device change events
void onAudioDeviceChanged(AudioDevice currentAudioDevice)
Event is triggered when active audio device or audio device that will be used for a further call is changed.
If the event is triggered during the call, currentAudioDevice is the audio device that is currently used.
If the event is triggered when there is no call, currentAudioDevice is the audio device that will be used for the next call.
Audio device to be used
void onAudioDeviceListChanged(List<AudioDevice> newDeviceList)
Event is triggered when a new audio device is connected or previously connected audio device is disconnected.
List of currently available audio devices.