UNPKG

m3u8stream

Version:

Reads segments from a m3u8 or dash playlist into a consumable stream.

11 lines (10 loc) • 327 B
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; }