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 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. The information is accessed through the mediaCapabilities property of the Navigator interface.
MediaCapabilitiesDecodingInfo
MediaCapabilitiesEncodingInfo
MediaCapabilitiesInfo
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 smooth and power-efficient it can be handled.

Extensions

PropsAudioConfiguration
PropsKeySystemTrackConfiguration
PropsMediaCapabilities
PropsMediaCapabilitiesDecodingInfo
PropsMediaCapabilitiesEncodingInfo
PropsMediaCapabilitiesInfo
PropsMediaCapabilitiesKeySystemConfiguration
PropsMediaConfiguration
PropsMediaDecodingConfiguration
PropsMediaEncodingConfiguration
PropsVideoConfiguration

Enums

ColorGamut
HdrMetadataType
MediaDecodingType
MediaEncodingType
TransferFunction