selectAudioOutput method

Future<void> selectAudioOutput(
  1. 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);
}