ITrackInfo
Represents detailed information about a media track
Properties
enabled?
readonlyoptionalenabled:boolean
Indicates if the track is currently active Applicable only for AUDIO or VIDEO tracks
id
readonlyid:string
Unique identifier of the track
kind
readonlykind:string
Specific classification of the track (e.g., "main", "commentary", "subtitles")
label
readonlylabel:string
User-friendly label for the track
language
readonlylanguage:string
Language of the track content (e.g., "en", "es")
For "AUDIO" ITrackType, refer to: https://html.spec.whatwg.org/multipage/media.html#dom-audiotrack-language For "TEXT" ITrackType, refer to: https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-language
mode?
readonlyoptionalmode:ITextTrackMode
Display mode of the text track Applicable only for TEXT tracks
type
readonlytype:ITrackType
Type of the track (AUDIO, VIDEO, or TEXT)
Last updated: Oct 02, 2025

