mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
removed unused variable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user