mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
fix(cctv): label a refused viewer's frame fallback instead of the live row
/frame now keeps a pullable HLS camera's shared health, so a viewer refused for capacity saw its placeholder or Street View frame under the live row's LIVE · OK badge and "Live HLS connected". When a video camera is shown on its frame fallback while the row says live, the panel badge now reads FALLBACK · DEGRADED and the meta line drops the live message; the shared row stays as it is for the other viewers.
This commit is contained in:
1 parent
0bebd59b69
commit
58d2c23860
5 files changed
+113
-7
No files matched your search
@@ -9658,7 +9658,9 @@ coexist with at most eight independent consumer leases each; no-access lease
|
||||
expiry is 15 seconds. A viewer refused because every lease or session slot is
|
||||
taken gets 503 with `Retry-After: 2` and leaves the camera's health unchanged;
|
||||
so does its frame fallback, since an HLS camera without a snapshot has no frame
|
||||
of its own. Closing one consumer leaves other consumers running. Lease
|
||||
of its own. That viewer's panel badge reads FALLBACK · DEGRADED and its meta
|
||||
line drops the live health message, since the shared live health does not
|
||||
describe the frame it shows. Closing one consumer leaves other consumers running. Lease
|
||||
ids use `crypto.randomUUID` where the page is a secure context and an equivalent
|
||||
v4 id from `crypto.getRandomValues` on plain-HTTP LAN pages. Encrypted/fMP4/byte-range playlists fail
|
||||
closed. Performance and live agency reliability require recorded validation.
|
||||
|
||||
Reference in new issue
Block a user