selectAudioInput method
- MediaDevice device
Implementation
Future<void> selectAudioInput(MediaDevice device) async {
if (lkPlatformIs(PlatformType.web)) {
logger.warning(
'selectAudioInput is only supported on Android/Windows/macOS');
return;
}
selectedAudioInput = device;
await rtc.Helper.selectAudioInput(device.deviceId);
}