fix(cctv): cap buffered snapshot downloads

Adapt the streamed snapshot size cap contributed in public PR #82 to the CCTV media module.
This commit is contained in:
Ethan Stoner authored and Sameh Khamis committed 2026-09-12 16:34:51 -07:00
1 parent c78ea4194c
commit 59a20e2d18
2 files changed
+31 -7

No files matched your search

+3
View File
@@ -38,3 +38,6 @@ export const CCTV_SOURCE_FETCH_TIMEOUT_MS = 15 * 1000;
* client refresh cadence. A bounded miss can fall through to Street View or
* the synthetic frame instead of leaving the browser preview pending. */
export const CCTV_FRAME_FETCH_TIMEOUT_MS = 8 * 1000;
/** Maximum buffered snapshot size. */
export const CCTV_FRAME_MAX_BODY_BYTES = 16 * 1024 * 1024;