isScreenShare property

bool get isScreenShare

True when the track is published with source TrackSource.screenShareVideo.

Implementation

bool get isScreenShare => kind == TrackType.VIDEO && source == TrackSource.screenShareVideo;