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