media_capabilities library Null safety

Media Capabilities

https://w3c.github.io/media-capabilities/

Classes

AudioConfiguration
The dictionary of the Media Capabilities API defines the audio file being tested when calling MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() to query whether a specific audio configuration is supported, smooth, and/or power efficient.
KeySystemTrackConfiguration
MediaCapabilities
The MediaCapabilities interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser. The API can be used to query the browser about the decoding abilities of the device based on codecs, profile, resolution, and bitrates. The information can be used to serve optimal media streams to the user and determine if playback should be smooth and power efficient. [...]
MediaCapabilitiesDecodingInfo
MediaCapabilitiesEncodingInfo
MediaCapabilitiesInfo
The MediaCapabilitiesInfo interface of the Media Capabilities API is made available when the promise returned by the MediaCapabilities.encodingInfo() or MediaCapabilities.decodingInfo() methods of the MediaCapabilities interface fulfills, providing information as to whether the media type is supported, and whether encoding or decoding such media would be smooth and power efficient.
MediaCapabilitiesKeySystemConfiguration
MediaConfiguration
The MediaCapabilities dictionary of the Media Capabilities API describes how media and audio files must be configured, or defined, to be passed as a parameter of the MediaCapabilities.encodingInfo() and MediaCapabilities.encodingInfo() methods.
MediaDecodingConfiguration
The dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.decodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.
MediaEncodingConfiguration
The dictionary of the Media Capabilities API is used to define the type of media being tested when calling MediaCapabilities.encodingInfo() to query whether a specific media configuration is supported, smooth, and/or power efficient.
VideoConfiguration
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 smoooth and power-efficient it can be handled.

Enums

ColorGamut
HdrMetadataType
MediaDecodingType
MediaEncodingType
TransferFunction