Files

11 lines
413 B
TypeScript

export const PROTOCOL_VERSION = 1;
export const CONNECT_TIMEOUT_MS = 15000;
export const PROTOCOL_TIMEOUT_MS = 3000;
export const PEER_PING_MS = 2000;
export const PEER_SILENCE_MS = 6000;
export const MAX_PEER_MESSAGE_BYTES = 16384;
export const ACTIVE_ROOM_TTL_MS = 24 * 60 * 60 * 1000;
export const TURN_CREDENTIAL_TTL_SECONDS = 3600;
export const RESUME_START_DELAY_MS = 100;
export const ROOM_POLL_MS = 1000;