VideoFormat
视频帧格式。
class VideoFormat { const VideoFormat({this.width, this.height, this.fps}); @JsonKey(name: 'width') final int? width; @JsonKey(name: 'height') final int? height; @JsonKey(name: 'fps') final int? fps; factory VideoFormat.fromJson(Map<String, dynamic> json) => _$VideoFormatFromJson(json); Map<String, dynamic> toJson() => _$VideoFormatToJson(this); }
属性
- width
- 视频帧的宽度(px)。
- height
- 视频帧的高度(px)。
- fps
- 视频帧的帧率。