MicrophoneManager
The Microphone manager makes it easy to use your microphone in a call
Samples
Properties
The audio bitrate profile currently in force — observe this to drive a music/voice toggle.
List of available devices.
Currently selected device
The currently selected USB input device, or null if using default routing.
The status of the audio
List of detected USB audio input devices.
Functions
Clears the USB device selection, restoring default audio routing.
List the devices, returns a stateflow with audio devices
Lists all detected USB input devices.
Select a specific device
Selects a USB input device as the preferred audio input source.
Sets the audio bitrate profile, before joining or on a running call, so a broadcaster who starts playing music can switch to MUSIC_HIGH_QUALITY without rejoining.
Enable or disable the microphone
Sets up USB audio device detection using Android's AudioDeviceCallback.