remoteUserMediaStream property

WrappedMediaStream? get remoteUserMediaStream

Implementation

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