Skip to content

docs(adr): ADR-0029 records the stream cap and simultaneous-start planning - #108

Merged
gravity-zero merged 3 commits into
devfrom
docs/adr-0029-video-capacity-cap
Nov 18, 2026
Merged

gravity-zero merged 3 commits into
devfrom
docs/adr-0029-video-capacity-cap

Conversation

@gravity-zero

Copy link
Copy Markdown
Contributor

ADR-0029 point 5 records how the video stream cap and simultaneous starts work, matching the code merged in #96.

  • The cap is the larger of two counts: the hardware streams of the representative route plus the software streams that fit in the CPU those leave, and the software streams alone (AutoCountCap). The representative route is the plain-SDR H.264 route of the class: a choice, not a measurement.
  • The panel shows the automatic cap; the enforced limit is that cap lowered by the admin's ceiling, never below one (ResolveVideoSessionLimit).
  • Streams planned but not yet started count beside a new one only while touched within pinFreshFor; sharing is a preference, not a reservation.
  • ForgetRefused drops the plan only of a stream shed at capacity with no running session holding it; a source too heavy for an idle host keeps its plan.

Docs only. make verify-commit REF=e518e4df7 green.

@gravity-zero
gravity-zero merged commit 130fd8b into dev Nov 18, 2026
2 checks passed
@gravity-zero
gravity-zero deleted the docs/adr-0029-video-capacity-cap branch November 18, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant