From d5830fa606947522c412ea511e8797529989f083 Mon Sep 17 00:00:00 2001 From: killer069 <65385476+killer069@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:03:38 +0530 Subject: [PATCH] Live Ended updated --- play-dl/YouTube/stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play-dl/YouTube/stream.ts b/play-dl/YouTube/stream.ts index 245aa01..2cffd42 100644 --- a/play-dl/YouTube/stream.ts +++ b/play-dl/YouTube/stream.ts @@ -103,7 +103,7 @@ async function live_stream(info : InfoData): Promise{ stream = new LiveStreaming(info.LiveStreamData.dashManifestUrl, info.format[info.format.length - 1].targetDurationSec) } else { - stream = new LiveEnded(info.format[info.format.length - 2]) + stream = new LiveEnded(info.LiveStreamData.dashManifestUrl) } return stream } \ No newline at end of file