12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
|
/// <reference types="node" />
|
||
|
import { Writable } from 'stream';
|
||
|
import { Parser } from './parser';
|
||
|
/**
|
||
|
* A wrapper around sax that emits segments.
|
||
|
*/
|
||
|
export default class DashMPDParser extends Writable implements Parser {
|
||
|
private _parser;
|
||
|
constructor(targetID?: string);
|
||
|
_write(chunk: Buffer, encoding: string, callback: () => void): void;
|
||
|
}
|