Type Definitions

IntervalTreeNode

Type:
  • Object
Properties
NameTypeDescription
startnumber

Start time of the interval

endnumber

End time of the interval

cueTextTrackCue

The cue object

maxEndnumber

Maximum end time in this subtree

leftIntervalTreeNode | null

Left child node

rightIntervalTreeNode | null

Right child node

heightnumber

Height of this node in the tree

MediaType

The media types

Type:
  • 'video' | 'audio' | 'text' | 'image'

TrackCueData

Type:
  • Object
Properties
NameTypeDescription
allCuesCueIntervalTree

All cues for this track, stored in an interval tree for efficient lookup

lastCueWindowUpdatenumber

Timestamp of last cue window update (for native rendering only)

activeCuesArray

Currently active cues for this track (for manual rendering only)