disableVideo method

void disableVideo()

Stops the underlying producing of a camera stream, stops the local track and closes the producer NOTE: This will notify all the RemotePeers that this producer has stopped producing and they should stop consuming it.

Implementation

void disableVideo() async {
  return stopProducing(label: 'video');
}