Update stream.ts

This commit is contained in:
Killer069
2021-11-06 18:26:29 +05:30
committed by GitHub
parent 67b5bdad37
commit e698db592a

View File

@@ -96,7 +96,7 @@ export async function stream_from_info(info: InfoData, options: StreamOptions =
if (
info.LiveStreamData.isLive === true &&
info.LiveStreamData.hlsManifestUrl !== null &&
info.video_details.durationInSec === '0'
info.video_details.durationInSec === 0
) {
return new LiveStreaming(
info.LiveStreamData.dashManifestUrl,