DirectCdnStreamingStats

The statistics of the current CDN streaming.

class DirectCdnStreamingStats {
  const DirectCdnStreamingStats(
      {this.videoWidth,
      this.videoHeight,
      this.fps,
      this.videoBitrate,
      this.audioBitrate});

  @JsonKey(name: 'videoWidth')
  final int? videoWidth;

  @JsonKey(name: 'videoHeight')
  final int? videoHeight;

  @JsonKey(name: 'fps')
  final int? fps;

  @JsonKey(name: 'videoBitrate')
  final int? videoBitrate;

  @JsonKey(name: 'audioBitrate')
  final int? audioBitrate;

  factory DirectCdnStreamingStats.fromJson(Map<String, dynamic> json) =>
      _$DirectCdnStreamingStatsFromJson(json);

  Map<String, dynamic> toJson() => _$DirectCdnStreamingStatsToJson(this);
}

Attributes

videoWidth
The width (px) of the video frame.
videoHeight
The height (px) of the video frame.
fps
The frame rate (fps) of the current video frame.
videoBitrate
The bitrate (bps) of the current video frame.
audioBitrate
The bitrate (bps) of the current audio frame.