Constructor
new NoopCaptionParser()
- Implements:
- Source:
Methods
init(datanon-null)
Initialize the caption parser. This should be called only once.
Parameters:
Name | Type | Description |
---|---|---|
data |
ArrayBuffer |
- Implements:
- Source:
parseFrom(datanon-null, onCaptions)
Parses embedded CEA closed captions and interacts with the underlying
CaptionStream, and calls the callback function when there are closed
captions.
Parameters:
Name | Type | Description |
---|---|---|
data |
ArrayBuffer | |
onCaptions |
function | A callback function to handle the closed captions from parsed data. |
- Implements:
- Source:
reset()
Resets the CaptionStream.
- Implements:
- Source: