Rate this page:

Audio device management

The Hardware.AudioDeviceManager (React SDK) and VIAudioDeviceManager (Flutter SDK) classes allow:

  • Getting all available audio devices
  • Getting currently selected audio device
  • Selecting an audio device
  • Handling active audio device changes and new audio devices (for example, Bluetooth headset or wired headset connection). These changes trigger the appropriate events

All types of audio devices are represented in the Hardware.AudioDevice (React SDK) and VIAudioDevice (Flutter SDK) enums.

Note that there are platform-specific nuances in audio device management, see the details in the iOS and Android SDKs documentation.

In case of success the audio device changes, and the AudioDeviceEventTypes.DeviceChanged event is triggered.

To select an audio device: