VideoFormat
The format of the video frame.
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); }
Attributes
- width
- The width (px) of the video frame. The default value is 960.
- height
- The height (px) of the video frame. The default value is 540.
- fps
- The video frame rate (fps). The default value is 15.