ImageTrackList
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available in Dedicated Web Workers.
The ImageTrackList
interface of the WebCodecs API represents a list of image tracks.
Instance properties
ImageTrackList.ready
Read only-
Returns a
promise
that resolves once theImageTrackList
has been populated withtracks
. ImageTrackList.length
Read only-
Returns an integer indicating the length of the
ImageTrackList
. ImageTrackList.selectedIndex
Read only-
Returns an integer indicating the index of the
selectedTrack
. ImageTrackList.selectedTrack
Read only-
Returns the selected
ImageTrack
.
Specifications
Specification |
---|
WebCodecs # imagetracklist-interface |
Browser compatibility
BCD tables only load in the browser