Class: shaka.media.Mp4TtmlParser

Extracts a TTML segment from an MP4 file and invokes the TTML parser to parse it.

Parameters:
Name Type Attributes Description
data ArrayBuffer
offset number
segmentStartTime number <nullable>
segmentEndTime number <nullable>
useRelativeCueTimestamps boolean Only used by the VTT parser
Source:
Returns:
Type
Array.<!TextTrackCue>

Members

(static, constant) BOX_TYPE_STPP :number

Type:
  • number
Source: