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

bitrate int

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
colorGamut ColorGamut

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
contentType String

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
framerate double

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
hasAlphaChannel bool

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hdrMetadataType HdrMetadataType

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
height int

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scalabilityMode String

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
spatialScalability bool

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
transferFunction TransferFunction

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair
width int

Available on VideoConfiguration, provided by the PropsVideoConfiguration extension

getter/setter pair

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