From d3893e76361a53b20c61f168eed43fed34081bc9 Mon Sep 17 00:00:00 2001 From: killer069 <65385476+killer069@users.noreply.github.com> Date: Mon, 16 Aug 2021 15:26:29 +0530 Subject: [PATCH] stream fixed --- play-dl/YouTube/stream.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/play-dl/YouTube/stream.ts b/play-dl/YouTube/stream.ts index 9ac0310..03c21c6 100644 --- a/play-dl/YouTube/stream.ts +++ b/play-dl/YouTube/stream.ts @@ -79,6 +79,9 @@ export async function stream(url : string, options? : StreamOptions): Promise 480p is not found") } + else{ + final.push(info.format[info.format.length - 1]) + } return yt_stream(final[0].url) } \ No newline at end of file