ImageTrackList
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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.readyRead only Experimental-
Returns a
promisethat resolves once theImageTrackListhas been populated withtracks. ImageTrackList.lengthRead only Experimental-
Returns an integer indicating the length of the
ImageTrackList. ImageTrackList.selectedIndexRead only Experimental-
Returns an integer indicating the index of the
selectedTrack. ImageTrackList.selectedTrackRead only Experimental-
Returns the selected
ImageTrack.
Specifications
| Specification |
|---|
| WebCodecs # imagetracklist-interface |
Browser compatibility
BCD tables only load in the browser