changeMicStream method

Future<MediaStream?> changeMicStream(
  1. MediaDeviceInfo device
)

Implementation

Future<MediaStream?> changeMicStream(MediaDeviceInfo device) async {
  MediaStream? newStream = await fetchStream(
    mediaDevice: CustomMediaDevice.mic,
    deviceId: device.deviceId,
  );
  return newStream;
}