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";