Function getReadableStream
- getReadableStream(stream, options?): Promise<Readable>
Parameters
- stream: {
contentLength?: string | number;
url: string;
}Optional
contentLength?: string | number
url: string
- options: GetReadableStreamOptions = {}
Returns Promise<Readable>
Returns a YouTube stream.
npm install m3u8stream
for livestream support.