PlayerPlaybackStats
The information of the media file being played.
@JsonSerializable(explicitToJson: true, includeIfNull: false) class PlayerPlaybackStats { const PlayerPlaybackStats( {this.videoFps, this.videoBitrateInKbps, this.audioBitrateInKbps, this.totalBitrateInKbps}); @JsonKey(name: 'videoFps') final int? videoFps; @JsonKey(name: 'videoBitrateInKbps') final int? videoBitrateInKbps; @JsonKey(name: 'audioBitrateInKbps') final int? audioBitrateInKbps; @JsonKey(name: 'totalBitrateInKbps') final int? totalBitrateInKbps; factory PlayerPlaybackStats.fromJson(Map<String, dynamic> json) => _$PlayerPlaybackStatsFromJson(json); Map<String, dynamic> toJson() => _$PlayerPlaybackStatsToJson(this); }
Attributes
- videoFps
- The frame rate (fps) of the video.
- videoBitrateInKbps
- The bitrate (kbps) of the video.
- audioBitrateInKbps
- The bitrate (kbps) of the audio.
- totalBitrateInKbps
- The total bitrate (kbps) of the media stream.