Class: shaka.cea.DummyCeaParser

Constructor

new DummyCeaParser()

Implements:
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>