This commit is contained in:
celebrateyang 2024-12-14 08:01:17 +08:00
parent 2746a67dd6
commit 5aff67cbaa

View File

@ -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();