isMicrophoneEnabled method

bool isMicrophoneEnabled()

Convenience property to check whether TrackSource.microphone is published or not.

Implementation

bool isMicrophoneEnabled() {
  return !(getTrackPublicationBySource(TrackSource.microphone)?.muted ??
      true);
}