Audio Device Info
Represents information about an audio device (microphone).
This is a specialized subclass of DeviceInfo with the Kind automatically set to audio and no facing mode.
Obtain audio device information using getAudioDevices.
Code Example:
Set<AudioDeviceInfo> audioDevices = VideoSDK.getAudioDevices();
for (AudioDeviceInfo device : audioDevices) {
if (device.getLabel().contains("SPEAKER_PHONE")) {
VideoSDK.setSelectedAudioDevice(device);
break;
}
}
Content copied to clipboard
See also
VideoSDK.getSelectedAudioDevice()