UNPKG

358 BTypeScriptView Raw
1/// <reference types="node" />
2import { Writable } from 'stream';
3import { Parser } from './parser';
4/**
5 * A wrapper around sax that emits segments.
6 */
7export default class DashMPDParser extends Writable implements Parser {
8 private _parser;
9 constructor(targetID?: string);
10 _write(chunk: Buffer, encoding: string, callback: () => void): void;
11}