web api instance property
ImageTrackList: selectedTrack property
Available in workers
The selectedTrack property of the ImageTrackList interface returns an ImageTrack object representing the currently selected track.
Value
An ImageTrack object.
Examples
The following example returns the selectedTrack then prints it to the console.
let track = imageDecoder.tracks.selectedTrack;
console.log(track);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.