From 27fb185b4521b5456a871d251a2ec383be2cb350 Mon Sep 17 00:00:00 2001 From: localhost Date: Sat, 7 Mar 2026 00:53:59 +0100 Subject: [PATCH] i'm one stupid fellow --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index b9164a1..5177f25 100644 --- a/index.ts +++ b/index.ts @@ -183,6 +183,7 @@ app.ws('/download/:id', async (ws, req) => { return ws.close() } + ws.send(`VIDEOSIZE-${videoSizeTotal}`) audioOutputStream = createOutputStream(req.params.id, selectedFormats.audioFormat.mimeType!); videoOutputStream = createOutputStream(req.params.id, selectedFormats.videoFormat.mimeType!);