From 5fdf3fa2f5f4df19e8c19b3687589db1a9723a0b Mon Sep 17 00:00:00 2001 From: killer069 <65385476+killer069@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:01:50 +0530 Subject: [PATCH] removed unused variable --- play-dl/YouTube/stream.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/play-dl/YouTube/stream.ts b/play-dl/YouTube/stream.ts index f6ab7e5..7963539 100644 --- a/play-dl/YouTube/stream.ts +++ b/play-dl/YouTube/stream.ts @@ -98,11 +98,6 @@ function filterFormat(formats : any[], codec : string){ } async function live_stream(info : InfoData): Promise{ - let res_144 : FormatInterface = { - url : '', - targetDurationSec : 0, - maxDvrDurationSec : 0 - } let stream : LiveStreaming | LiveEnded if(info.video_details.durationInSec === '0') { stream = new LiveStreaming(info.LiveStreamData.dashManifestUrl, info.format[info.format.length - 1].targetDurationSec)