remoteScreenSharingStream property

WrappedMediaStream? get remoteScreenSharingStream

Implementation

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