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