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)