UserSessionStats constructor

UserSessionStats({
  1. String? browser,
  2. String? browserVersion,
  3. String? currentIp,
  4. String? currentSfu,
  5. String? deviceModel,
  6. String? deviceVersion,
  7. double? distanceToSfuKilometers,
  8. required int freezeDurationSeconds,
  9. GeolocationResult? geolocation,
  10. TimeStats? jitter,
  11. TimeStats? latency,
  12. double? maxFirPerSecond,
  13. required double maxFreezeFraction,
  14. required int maxFreezesDurationSeconds,
  15. double? maxFreezesPerSecond,
  16. double? maxNackPerSecond,
  17. double? maxPliPerSecond,
  18. VideoQuality? maxPublishingVideoQuality,
  19. VideoQuality? maxReceivingVideoQuality,
  20. String? os,
  21. String? osVersion,
  22. required double packetLossFraction,
  23. MediaPubSubHint? pubSubHints,
  24. List<PublishedTrackInfo> publishedTracks = const [],
  25. MOSStats? publisherAudioMos,
  26. TimeStats? publisherJitter,
  27. TimeStats? publisherLatency,
  28. double? publisherNoiseCancellationSeconds,
  29. required double publisherPacketLossFraction,
  30. double? publisherQualityLimitationFraction,
  31. Map<String, double> publisherVideoQualityLimitationDurationSeconds = const {},
  32. String? publishingAudioCodec,
  33. required int publishingDurationSeconds,
  34. String? publishingVideoCodec,
  35. required double qualityScore,
  36. String? receivingAudioCodec,
  37. required int receivingDurationSeconds,
  38. String? receivingVideoCodec,
  39. String? sdk,
  40. String? sdkVersion,
  41. required String sessionId,
  42. MOSStats? subscriberAudioMos,
  43. TimeStats? subscriberJitter,
  44. TimeStats? subscriberLatency,
  45. double? subscriberVideoQualityThrottledDurationSeconds,
  46. List<Subsession> subsessions = const [],
  47. CallTimeline? timeline,
  48. required int totalPixelsIn,
  49. required int totalPixelsOut,
  50. bool? truncated,
  51. 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,
});