MediaCapabilities class
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.
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- MediaCapabilities()
-
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