selectAudioOutput method

Future<void> selectAudioOutput(
  1. MediaDevice device
)

Implementation

Future<void> selectAudioOutput(MediaDevice device) async {
  if (!lkPlatformIsDesktop()) {
    logger.warning('selectAudioOutput is only supported on Desktop');
    return;
  }
  selectedAudioOutput = device;
  await rtc.Helper.selectAudioOutput(device.deviceId);
}