disableAudio method

void disableAudio()

Stops the underlying producing of a microphone 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 disableAudio() async {
  return stopProducing(label: 'audio');
}