UserSessionStats constructor
UserSessionStats({
- String? browser,
- String? browserVersion,
- String? currentIp,
- String? currentSfu,
- String? deviceModel,
- String? deviceVersion,
- double? distanceToSfuKilometers,
- required int freezeDurationSeconds,
- GeolocationResult? geolocation,
- TimeStats? jitter,
- TimeStats? latency,
- double? maxFirPerSecond,
- required double maxFreezeFraction,
- required int maxFreezesDurationSeconds,
- double? maxFreezesPerSecond,
- double? maxNackPerSecond,
- double? maxPliPerSecond,
- VideoQuality? maxPublishingVideoQuality,
- VideoQuality? maxReceivingVideoQuality,
- String? os,
- String? osVersion,
- required double packetLossFraction,
- MediaPubSubHint? pubSubHints,
- List<
PublishedTrackInfo> publishedTracks = const [], - MOSStats? publisherAudioMos,
- TimeStats? publisherJitter,
- TimeStats? publisherLatency,
- double? publisherNoiseCancellationSeconds,
- required double publisherPacketLossFraction,
- double? publisherQualityLimitationFraction,
- Map<
String, double> publisherVideoQualityLimitationDurationSeconds = const {}, - String? publishingAudioCodec,
- required int publishingDurationSeconds,
- String? publishingVideoCodec,
- required double qualityScore,
- String? receivingAudioCodec,
- required int receivingDurationSeconds,
- String? receivingVideoCodec,
- String? sdk,
- String? sdkVersion,
- required String sessionId,
- MOSStats? subscriberAudioMos,
- TimeStats? subscriberJitter,
- TimeStats? subscriberLatency,
- double? subscriberVideoQualityThrottledDurationSeconds,
- List<
Subsession> subsessions = const [], - CallTimeline? timeline,
- required int totalPixelsIn,
- required int totalPixelsOut,
- bool? truncated,
- String? webrtcVersion,
Returns a new UserSessionStats instance.
Implementation
UserSessionStats({
this.browser,
this.browserVersion,
this.currentIp,
this.currentSfu,
this.deviceModel,
this.deviceVersion,
this.distanceToSfuKilometers,
required this.freezeDurationSeconds,
this.geolocation,
this.jitter,
this.latency,
this.maxFirPerSecond,
required this.maxFreezeFraction,
required this.maxFreezesDurationSeconds,
this.maxFreezesPerSecond,
this.maxNackPerSecond,
this.maxPliPerSecond,
this.maxPublishingVideoQuality,
this.maxReceivingVideoQuality,
this.os,
this.osVersion,
required this.packetLossFraction,
this.pubSubHints,
this.publishedTracks = const [],
this.publisherAudioMos,
this.publisherJitter,
this.publisherLatency,
this.publisherNoiseCancellationSeconds,
required this.publisherPacketLossFraction,
this.publisherQualityLimitationFraction,
this.publisherVideoQualityLimitationDurationSeconds = const {},
this.publishingAudioCodec,
required this.publishingDurationSeconds,
this.publishingVideoCodec,
required this.qualityScore,
this.receivingAudioCodec,
required this.receivingDurationSeconds,
this.receivingVideoCodec,
this.sdk,
this.sdkVersion,
required this.sessionId,
this.subscriberAudioMos,
this.subscriberJitter,
this.subscriberLatency,
this.subscriberVideoQualityThrottledDurationSeconds,
this.subsessions = const [],
this.timeline,
required this.totalPixelsIn,
required this.totalPixelsOut,
this.truncated,
this.webrtcVersion,
});