Type Definitions
IntervalTreeNode
Type:
Properties- Object
| Name | Type | Description |
|---|---|---|
start | number | Start time of the interval |
end | number | End time of the interval |
cue | TextTrackCue | The cue object |
maxEnd | number | Maximum end time in this subtree |
left | IntervalTreeNode | | Left child node |
right | IntervalTreeNode | | Right child node |
height | number | Height of this node in the tree |
MediaType
The media types
Type:
- 'video' |
'audio' | 'text' | 'image'
- Source
TrackCueData
Type:
Properties- Object
| Name | Type | Description |
|---|---|---|
allCues | CueIntervalTree | All cues for this track, stored in an interval tree for efficient lookup |
lastCueWindowUpdate | number | Timestamp of last cue window update (for native rendering only) |
activeCues | Array | Currently active cues for this track (for manual rendering only) |