removed unused variable

This commit is contained in:
killer069 2021-08-27 16:01:50 +05:30
parent ede1b2af8e
commit 5fdf3fa2f5

View File

@ -98,11 +98,6 @@ function filterFormat(formats : any[], codec : string){
}
async function live_stream(info : InfoData): Promise<LiveStreaming | LiveEnded>{
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)