Live Ended updated

This commit is contained in:
killer069 2021-08-27 16:03:38 +05:30
parent 86ae2c7eb8
commit d5830fa606

View File

@ -103,7 +103,7 @@ async function live_stream(info : InfoData): Promise<LiveStreaming | LiveEnded>{
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
}