ImageTrack

open class ImageTrack(source)

The ImageTrack interface of the WebCodecs API represents an individual image track. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
external val animated: Boolean

The animated property of the ImageTrack interface returns true if the track is animated and therefore has multiple frames.

Link copied to clipboard
external val frameCount: Int

The frameCount property of the ImageTrack interface returns the number of frames in the track.

Link copied to clipboard
external val repetitionCount: Float

The repetitionCount property of the ImageTrack interface returns the number of repetitions of this track.

Link copied to clipboard
external var selected: Boolean

The selected property of the ImageTrack interface returns true if the track is selected for decoding.