report video size to backend

This commit is contained in:
localhost 2026-03-07 00:46:21 +01:00
parent 60d7616a76
commit 4bba45048b
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,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!);