Merge pull request #5 from celebrateyang/fsv_front

to debug
This commit is contained in:
celebrateyang 2024-12-14 08:02:31 +08:00 committed by GitHub
commit 9ddb443f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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