Files
gods-eye-view/changelog.d/1267-cctv-hls-capacity-health.md
T
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

4 lines
213 B
Markdown

- Stop reporting a live HLS camera as degraded when a viewer is refused because
every lease or session slot is taken; the refusal still answers 503 with
`Retry-After` (Said Turksever, German Khokhlov, #1267).