selectAudioOutput method
- MediaDevice device
Implementation
Future<void> selectAudioOutput(MediaDevice device) async {
if (lkPlatformIs(PlatformType.web) || lkPlatformIs(PlatformType.iOS)) {
logger.warning('selectAudioOutput is not supported on Web or iOS');
return;
}
selectedAudioOutput = device;
await rtc.Helper.selectAudioOutput(device.deviceId);
}