From 5aff67cbaa2adb350db8944e7e05a2aaf7c31518 Mon Sep 17 00:00:00 2001 From: celebrateyang Date: Sat, 14 Dec 2024 08:01:17 +0800 Subject: [PATCH] to debug --- api/src/stream/internal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/stream/internal.js b/api/src/stream/internal.js index 7d8bf4c9..ae267e92 100644 --- a/api/src/stream/internal.js +++ b/api/src/stream/internal.js @@ -51,6 +51,8 @@ async function handleYoutubeStream(streamInfo, res) { streamInfo.url = req.url; const size = BigInt(req.headers.get('content-length')); + console.log("size=========>",size) + console.log("req.status=========>", req.status); if (req.status !== 200 || !size) { return cleanup();