Live Ended updated
This commit is contained in:
parent
86ae2c7eb8
commit
d5830fa606
@ -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)
|
stream = new LiveStreaming(info.LiveStreamData.dashManifestUrl, info.format[info.format.length - 1].targetDurationSec)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
stream = new LiveEnded(info.format[info.format.length - 2])
|
stream = new LiveEnded(info.LiveStreamData.dashManifestUrl)
|
||||||
}
|
}
|
||||||
return stream
|
return stream
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user