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.cea.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.cea.ICeaParser.CaptionPacket>