reduce max resp chunk size well below webrtc max

This commit is contained in:
Spencer Pogorzelski 2023-08-14 15:28:53 -07:00
parent 52a55f616b
commit fa3386468e
2 changed files with 11 additions and 1 deletions

View file

@ -49,4 +49,7 @@ export type WSErrorPayload = {
message: string;
};
// WebRTC max is 16K, let's say 8K to be safe
export const MAX_CHUNK_SIZE = 8 * 1024;
export { Transport } from "./Transport";