PlayerPlaybackStats
Information related to the currently playing media resource.
@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);
}
Properties
- videoFps
- Video frame rate, in fps.
- videoBitrateInKbps
- Video bitrate, in kbps.
- audioBitrateInKbps
- Audio bitrate, in kbps.
- totalBitrateInKbps
- Total bitrate of the media stream, in kbps.