selectAudioInput static method

Future<void> selectAudioInput(
  1. String deviceId
)

Set audio input device for Flutter native Note: The usual practice in flutter web is to use deviceId as the getUserMedia parameter to get a new audio track and replace it with the audio track in the original rtpsender.

Implementation

static Future<void> selectAudioInput(String deviceId) async {
  await WebRTC.invokeMethod(
    'selectAudioInput',
    <String, dynamic>{'deviceId': deviceId},
  );
}