UNPKG

m3u8stream

Version:

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

12 lines (11 loc) 358 B
/// <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; }