Update stream.ts

This commit is contained in:
Killer069 2021-11-06 18:26:29 +05:30 committed by GitHub
parent 67b5bdad37
commit e698db592a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,