From bcbcd842c718a91b66d3781f4707eae6265d93a5 Mon Sep 17 00:00:00 2001 From: Spencer Pogorzelski <34356756+Scoder12@users.noreply.github.com> Date: Fri, 18 Aug 2023 10:50:57 -0700 Subject: [PATCH] bump chunksize to 12k --- protocol/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/src/index.ts b/protocol/src/index.ts index 756f5b4..80e1c2c 100644 --- a/protocol/src/index.ts +++ b/protocol/src/index.ts @@ -52,7 +52,7 @@ export type WSErrorPayload = { message: string; }; -// WebRTC max is 16K, let's say 8K to be safe -export const MAX_CHUNK_SIZE = 8 * 1024; +// WebRTC max is 16K, let's say 12K to be safe +export const MAX_CHUNK_SIZE = 12 * 1024; export { Transport } from "./Transport";