diff --git a/play-dl/YouTube/stream.ts b/play-dl/YouTube/stream.ts index 61e5384..7de9d70 100644 --- a/play-dl/YouTube/stream.ts +++ b/play-dl/YouTube/stream.ts @@ -50,7 +50,7 @@ export async function stream(url : string, cookie? : string): Promise{ +export async function stream_from_info(info : InfoData, cookie? : string): Promise{ let final: any[] = []; let type : StreamType; if(info.LiveStreamData.isLive === true && info.LiveStreamData.hlsManifestUrl !== null && info.video_details.durationInSec === '0') { @@ -90,7 +90,7 @@ export async function stream_from_info(info : InfoData): Promise