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.ready Read only Experimental

Returns a promise that resolves once the ImageTrackList has been populated with tracks.

ImageTrackList.length Read only Experimental

Returns an integer indicating the length of the ImageTrackList.

ImageTrackList.selectedIndex Read only Experimental

Returns an integer indicating the index of the selectedTrack.

ImageTrackList.selectedTrack Read only Experimental

Returns the selected ImageTrack.

Specifications

Specification
WebCodecs
# imagetracklist-interface

Browser compatibility

BCD tables only load in the browser