diff --git a/utils/companion.ts b/utils/companion.ts index eb3ce7f..fddd718 100644 --- a/utils/companion.ts +++ b/utils/companion.ts @@ -125,6 +125,7 @@ export async function downloadStream(streamUrl: string, format: any, stream: Wri method: "POST", body: new Uint8Array([0x78, 0]), // protobuf: { 15: 0 } (no idea what it means but this is what YouTube uses), headers: headersToSend, + keepalive: false, proxy }); if (postResponse.status !== 200) {