Update stream.ts
This commit is contained in:
parent
67b5bdad37
commit
e698db592a
@ -96,7 +96,7 @@ export async function stream_from_info(info: InfoData, options: StreamOptions =
|
|||||||
if (
|
if (
|
||||||
info.LiveStreamData.isLive === true &&
|
info.LiveStreamData.isLive === true &&
|
||||||
info.LiveStreamData.hlsManifestUrl !== null &&
|
info.LiveStreamData.hlsManifestUrl !== null &&
|
||||||
info.video_details.durationInSec === '0'
|
info.video_details.durationInSec === 0
|
||||||
) {
|
) {
|
||||||
return new LiveStreaming(
|
return new LiveStreaming(
|
||||||
info.LiveStreamData.dashManifestUrl,
|
info.LiveStreamData.dashManifestUrl,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user