stopConsumingWebcamStreams method

Future<void> stopConsumingWebcamStreams()

Stops consuming (unsubscribing from) this participant’s webcam (video) streams.

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

  • After calling this method, the participant’s webcam video stream will no longer be received until consumeWebcamStreams is called, and rendering can be safely stopped.

Implementation

Future<void> stopConsumingWebcamStreams() async {
  await _stopConsumingWebcamStreams?.call(id);
}