selectAudioInput method

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