Class: shaka.cea.TsCeaParser

Constructor

new TsCeaParser()

Implements:
Source:

Members

seiProcessor_ :shaka.cea.SeiProcessor

SEI data processor.
Type:
Source:

Methods

init(initSegmentnon-null)

Initializes the parser with init segment data.
Parameters:
Name Type Description
initSegment BufferSource init segment to parse.
Implements:
Source:

parse(mediaSegmentnon-null) → {Array.<!shaka.extern.ICeaParser.CaptionPacket>}

Parses the stream and extracts closed captions packets.
Parameters:
Name Type Description
mediaSegment BufferSource media segment to parse.
Implements:
Source:
Returns:
Type
Array.<!shaka.extern.ICeaParser.CaptionPacket>