stopConsumingMicStreams method

Future<void> stopConsumingMicStreams()

Stops consuming (unsubscribing from) this participant’s microphone (audio) streams.

Takes effect only when the room was created with autoConsume: false.

After calling this method, the participant’s microphone audio stream will no longer be received until consumeMicStreams is called.

Implementation

Future<void> stopConsumingMicStreams() async {
  await _stopConsumingMicStreams?.call(id);
}