VideoConfiguration class

The dictionary of the Media Capabilities API is used to define the video file being tested when calling the MediaCapabilities methods encodingInfo() and decodingInfo() to determine whether or not the described video configuration is supported, and how smoothly and how smooth and power-efficient it can be handled.

Available extensions
Annotations
  • @experimental
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

VideoConfiguration({required String contentType, required int width, required int height, required int bitrate, required double framerate, bool? hasAlphaChannel, HdrMetadataType? hdrMetadataType, ColorGamut? colorGamut, TransferFunction? transferFunction, String? scalabilityMode, bool? spatialScalability})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited