isScreenShareEnabled method

bool isScreenShareEnabled()

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

Implementation

bool isScreenShareEnabled() {
  return !(getTrackPublicationBySource(TrackSource.screenShareVideo)?.muted ??
      true);
}