Commit Graph
1307 Commits
Author SHA1 Message Date
German Khokhlov 0bebd59b69 Merge main into codex/fix-cctv-session-admission 2026-11-20 11:48:38 +04:00
German Khokhlov ed38a1ab3f fix(cctv): keep an HLS camera's health through the refused viewer's frame
A viewer refused for capacity falls back to /frame after hls.js gives up.
For a pullable HLS camera without a snapshot, /frame only has a
placeholder or a Street View frame, which says nothing about the stream,
yet it wrote degraded over the health that /media owns. /frame now
leaves that health as it is; a dead upstream is still reported through
/media.

Tests: the middleware suite covers both fallbacks, a real upstream
failure that still degrades, and cross-site segment and release refusals
on a live HLS lease; capacity checks use HLS_LIMITS and HlsCapacityError;
the three CCTV suites share one provider harness in src/testSupport.
CURRENT-STATE and the changelog fragment describe the refusal.
2026-11-20 11:48:22 +04:00
Sameh Khamis 763b892716 Merge branch 'main' into samehkhamis/grounded-military-height 2026-11-19 20:49:31 -08:00
Sameh Khamis 22275814fb Merge branch 'main' into samehkhamis/grounded-military-height 2026-11-19 20:34:59 -08:00
Sameh Khamis 91dee5dabe Merge remote-tracking branch 'origin/main' into samehkhamis/omnibar-above-timeline 2026-11-19 20:32:04 -08:00
Sameh Khamis 2dd26de768 Add the changelog entry for #1877 2026-11-19 20:22:43 -08:00
Sameh Khamis 1cc06c021a Changelog entry for #1876 2026-11-19 20:16:34 -08:00
Sameh Khamis f07f40271d Changelog: #1875 2026-11-19 19:45:30 -08:00
Sameh Khamis 3e6d2165fd Changelog: #1873 2026-11-19 18:59:36 -08:00
Sameh Khamis 93c68281d9 Merge branch 'main' into samehkhamis/omnibar-centred 2026-11-19 17:10:42 -08:00
Sameh Khamis 17bfc203c5 Merge branch 'main' into samehkhamis/find-it 2026-11-19 16:56:33 -08:00
Sameh Khamis 41e988606c Add the changelog entry for #1872 2026-11-19 16:56:19 -08:00
Sameh KhamisandManjunath Paparaju 80999ff007 Add the changelog entry for #1871
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 16:36:54 -08:00
Sameh Khamis 250a78c0f9 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:54:31 -08:00
Sameh Khamis c586087147 Add the changelog entry for #1870 2026-11-19 15:40:48 -08:00
Sameh Khamis 5258f1b2a4 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:39:50 -08:00
Sameh Khamis 19369349b0 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-final-scan 2026-11-19 15:31:56 -08:00
Sameh Khamis db19dae2f9 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:24:39 -08:00
German Khokhlov aa5ab7d387 Merge branch 'main' into feat/alpr-model-specs 2026-11-20 03:17:38 +04:00
Sameh Khamis 54b6ba827e Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:12:01 -08:00
Sameh KhamisandManjunath Paparaju 91e42b887f Add the changelog entry for #1869
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 15:04:57 -08:00
Sameh Khamis efc03a3f6e Merge branch 'main' into samehkhamis/no-focus-zoom 2026-11-19 15:01:04 -08:00
Sameh Khamis c2e5ed271e Merge branch 'main' into samehkhamis/no-focus-zoom 2026-11-19 14:48:02 -08:00
Sameh Khamis cc73059f2b Merge branch 'main' into samehkhamis/kit-sweep-photo-globe 2026-11-19 14:45:25 -08:00
Sameh Khamis e4df80cb09 Merge branch 'main' into samehkhamis/no-focus-zoom 2026-11-19 14:32:41 -08:00
Sameh Khamis be1a0ae837 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 14:32:26 -08:00
Sameh KhamisandManjunath Paparaju 9c6152911a Add the changelog entry for #1868
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 14:31:45 -08:00
German Khokhlov 374efbedc1 Merge branch 'main' into german/cctv-camera-counts 2026-11-20 02:29:12 +04:00
Sameh Khamis 23837768e1 Add the changelog entry for #1867 2026-11-19 14:19:55 -08:00
Sameh Khamis 03301082fe Add the changelog entry for #1866 2026-11-19 14:17:31 -08:00
Sameh KhamisandManjunath Paparaju 017f1988df Add the changelog entry for #1865
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 14:11:41 -08:00
German Khokhlov b322ac1df9 Merge remote-tracking branch 'origin/main' into german/cctv-camera-counts 2026-11-20 02:02:08 +04:00
Sameh KhamisandManjunath Paparaju 92010a3b5e Add the changelog entry for #1864
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 13:55:11 -08:00
Sameh KhamisandManjunath Paparaju 13e8ceab1c Add the changelog entry for #1863
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 13:36:31 -08:00
Sameh Khamis b95c913130 Merge branch 'main' into samehkhamis/kit-sweep-chat-voice 2026-11-19 13:16:28 -08:00
Sameh Khamis e3a1223090 Merge branch 'main' into samehkhamis/kit-sweep-chat-voice 2026-11-19 13:03:17 -08:00
Sameh Khamis 488a980315 Merge branch 'main' into samehkhamis/bare-address-defaults 2026-11-19 12:54:40 -08:00
Sameh KhamisandManjunath Paparaju abb3741b24 Add the changelog entry for #1862
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 12:46:21 -08:00
Sameh Khamis 222c152360 Merge branch 'main' into fix/zoom-freeze-under-icons 2026-11-19 12:41:34 -08:00
Sameh Khamis a9487a0683 Add the changelog entry for #1861 2026-11-19 12:26:41 -08:00
Sameh Khamis 648c5136a3 Fill in the pull request numbers of two changelog entries 2026-11-19 12:04:19 -08:00
Sameh KhamisandManjunath Paparaju 350135b8ad Add the changelog entry for #1858
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 11:20:24 -08:00
Said Turksever f5f5f04b5d Merge branch 'main' into codex/fix-cctv-session-admission 2026-11-19 19:19:38 +00:00
Said Turksever 0fd9a7ed57 docs(changelog): zoom freeze under icons (#1857) 2026-11-19 19:19:03 +00:00
Sameh KhamisandManjunath Paparaju 765869bcb2 Add the changelog entry for #1856
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:52:21 -08:00
Sameh KhamisandManjunath Paparaju 4b57d22244 Add the changelog entry for #1855
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:28:03 -08:00
Said Turksever 4be74a40e4 Merge remote-tracking branch 'origin/main' into codex/fix-cctv-session-admission 2026-11-19 17:45:15 +00:00
Said Turksever 4e1f004a83 fix(cctv): keep a camera's health when an HLS viewer is refused for capacity
A full lease or session budget fell into the general catch and marked the
camera degraded, although its upstream was fine and other viewers were
watching it. Capacity refusals now throw HlsCapacityError and still answer
503 with Retry-After, without touching health.

Tests: fill all 16 lease slots from one shared address and pin the refusal
of a ninth viewer and a third session, keep a second lease alive so the
released-lease 404 is the lease check, and share recordingResponse between
the two middleware test files.
2026-11-19 17:45:15 +00:00
Sameh KhamisandManjunath Paparaju 8547bcda08 Add the changelog entry for #1854
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 08:06:32 -08:00
German Khokhlov 0699876e4e fix(cctv): keep main's HLS leases and test them through the middleware
Drop the per-peer lease budget and the lease-to-address binding. Main's
keyless same-site gate already refuses cross-site media requests, while
the budget capped a shared address (Docker gateway, reverse proxy, NAT)
at 8 leases across both sessions and still let one address hold both.
A lease now keeps working when its viewer reconnects from a new address.

Add a middleware test that drives the HLS playlist, segment and DELETE
for viewers on one shared address, on distinct addresses and after an
address change, and fold the media cases (segment read, DELETE, no
catalog request) into the cross-site table test. Remove the redundant
puppeteer flag, the CURRENT-STATE paragraph and the changelog fragment,
which no longer describe a change.
2026-11-19 19:59:01 +04:00