localScreenSharingStream property

WrappedMediaStream? get localScreenSharingStream

Implementation

WrappedMediaStream? get localScreenSharingStream {
  final stream = getLocalStreams.where(
      (element) => element.purpose == SDPStreamMetadataPurpose.Screenshare);
  if (stream.isNotEmpty) {
    return stream.first;
  }
  return null;
}