From bea6b50ddaf4809402c132d721bfd4be7c971382 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 14 Jun 2026 21:06:09 -0500 Subject: scrypted: default frame interval 500 ms (~2 fps) — measured ceiling for snapshot-based pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scrypted/scrypted-viewport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scrypted') diff --git a/scrypted/scrypted-viewport.ts b/scrypted/scrypted-viewport.ts index 69ccd70..405b019 100644 --- a/scrypted/scrypted-viewport.ts +++ b/scrypted/scrypted-viewport.ts @@ -70,7 +70,7 @@ type SettingValue = any; // Tuning constants. Frame interval is also exposed on the parent's // Settings page so it can be tweaked without editing the script. -const DEFAULT_FRAME_INTERVAL_MS = 1_000; +const DEFAULT_FRAME_INTERVAL_MS = 500; // ~2 fps — snapshot-based; cameras typically can't sustain faster const REREGISTER_INTERVAL_MS = 5 * 60_000; const HTTP_TIMEOUT_MS = 1_000; const DEFAULT_IDLE_TIMEOUT_MS = 60_000; -- cgit v1.2.3