1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 22:33:17 +00:00
musix-oss/node_modules/m3u8stream/dist/m3u8-parser.d.ts

15 lines
455 B
TypeScript
Raw Normal View History

2020-03-03 20:30:50 +00:00
/// <reference types="node" />
import { Writable } from 'stream';
import { Parser } from './parser';
/**
* A very simple m3u8 playlist file parser that detects tags and segments.
*/
export default class m3u8Parser extends Writable implements Parser {
private _lastLine;
private _seq;
private _nextItemDuration;
constructor();
_parseLine(line: string): void;
_write(chunk: Buffer, encoding: string, callback: () => void): void;
}