Files
ryan.mcgee 5c7b1482d6 Default overlay to enabled in HTML mode
Fresh installs now show the overlay over the live picture in the web
UI without any server-side overlay processing. Previously the overlay
defaulted to off entirely.

The change is just to loadState()'s default values; both fields are
still read from the state file when present, so existing users who
have explicitly toggled either setting keep their preference. Users
upgrading from before overlay_baked existed get the new HTML default
(was implicitly baked before).

Behavior with the new defaults on a fresh install:
- Master overlay: on
- Overlay type: HTML (baked off)
- runOverlay() drops frames without decoding (no CPU overhead)
- /stream/overlay and /snapshot/overlay return 503 (HTML mode)
- RTSP overlay process does not start
- Web UI shows stats overlaid via CSS on top of the raw stream

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 15:22:44 -05:00
..
2026-05-11 15:48:09 -05:00