mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-27 00:36:34 +00:00
No description
Server-side: - Bundle gen: when camera event_source is "auto", first kiosk to fetch bundle claims ownership → writes "kiosk:<id>" to camera row. Other kiosks see assigned owner and skip ONVIF subscription. - Kiosk deletion resets event_source back to "auto" so next kiosk takes over. - repo.getActiveOnvifOwners() for future use. Kiosk-side: - Only subscribe when event_source is "auto" or "kiosk:<MY_ID>". Skips "kiosk:<other_id>", "server", "none", "disabled". - Poll interval: 3s → 10s (cameras were getting overwhelmed) - CreatePullPoint backoff: exponential 30s→60s→120s...→600s max - Pull errors: exponential 15s→30s→45s...→300s, resubscribe after 5 consecutive failures instead of immediately. - load_kiosk_id() helper reads from cached bundle. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| deploy | ||
| docs | ||
| kiosk | ||
| nodered | ||
| scripts | ||
| server | ||
| .gitattributes | ||
| .gitignore | ||
| CLAUDE.md | ||
| docker-compose.coolify.yml | ||
| docker-compose.yml | ||
| LICENSE-AGPL.txt | ||
| LICENSE-COMMERCIAL.md | ||
| LICENSE.md | ||
| package-lock.json | ||
| package.json | ||
| sec-config.template.yaml | ||
| tsconfig.base.json | ||