docs(route): define TURN allocation admission truth (#207)
* docs(route): define TURN allocation admission * docs(route): align TURN admission source truth
This commit is contained in:
1 parent
ba623c67e6
commit
c30f4e9f73
9 files changed
+76
-22
No files matched your search
+3
-3
@@ -16,15 +16,15 @@ This is the current execution index. Git history owns completed timelines; [veri
|
||||
- Canonical source is the clean `main` branch; auxiliary branches and worktrees do not own current truth.
|
||||
- Current source implements one steady outbound media-copy cap for every non-server endpoint: default `2`, static `1/2/3`, a peer child or Host publication consumes one slot, upstream receive is free, a committed selected TURN transport replaces the same copy while hidden carry consumes another, and no Browser/UA/visibility tier exists. One shared guard owns the accounting and transition work is bounded by `min(C + 1, 3)`.
|
||||
- The v6 release boundary rejects v5 before room authority and carries the exact deployment cap in every authenticated snapshot so ordinary Host authorization, Native admission, peer-assisted child assignments, and sender slots share the server authority. It leaves an SFU-fed Viewer childless without independent outbound proof and keeps quality events child-scoped without a fixed two-child parent drain.
|
||||
- Current source also implements explicit no-default SFU ingress/egress capacities and exact `reserved | committed | draining` accounting. The listener owner reconciles its dedicated non-auto-create LiveKit namespace before serving, creates each generation before token issuance, releases only after delete-plus-absence proof, and reclaims Host-offline generations through bounded exact-participant checks. The room-wide selected-lease guard remains until its separate TURN-admission wave.
|
||||
- Current source also implements explicit no-default SFU ingress/egress capacities and exact `reserved | committed | draining` accounting. The listener owner reconciles its dedicated non-auto-create LiveKit namespace before serving, creates each generation before token issuance, releases only after delete-plus-absence proof, and reclaims Host-offline generations through bounded exact-participant checks. Selected TURN has an independent explicit no-default deployment capacity; one process-local ledger charges every exact peer-selected edge and Host-SFU ingress through reserve, commit, drain, and release.
|
||||
- Automatic P2P-first routing, one active upstream, an acyclic graph, exact identity/generation authority, media-proven make-before-break, and bounded failure remain accepted.
|
||||
- The holistic assisted-route model is accepted: one controller performs allocation, child reparenting, and relay abdication/drain. One Host publication serves SFU subscriptions; TURN is an exact edge transport, not a topology node. Endpoint accounting, the wire boundary, and SFU admission/lifecycle are implemented; independent TURN admission and controller convergence remain pending.
|
||||
- The holistic assisted-route model is accepted: one controller performs allocation, child reparenting, and relay abdication/drain. One Host publication serves SFU subscriptions; TURN is an exact edge transport, not a topology node. Endpoint accounting, the wire boundary, SFU lifecycle, and TURN admission are implemented; controller convergence remains pending.
|
||||
- Parent selection is deterministic rather than random or score-based: hard eligibility filters, then shallowest result, remaining sender capacity, stable join order, and peer identity; one provisional edge uses standard ICE and media proof at a time. Viewer connection feedback and the strict-NAT emulator gate are accepted follow-up work, not deployed behavior.
|
||||
- Live 64/128/256 audio-ceiling mutation and paused-share video codec switching are accepted but not yet implemented on canonical `main`. H.264 startup blur/low-FPS reports remain an evidence-led diagnosis, not a presumed codec defect. Public-server and fully local distribution packages are later work after the functional, NAT, and real-network ledger is complete.
|
||||
|
||||
## Current Milestone
|
||||
|
||||
1. Complete and release route waves C-D with independent TURN admission, deterministic local parent selection, quality ownership, and one controller.
|
||||
1. Complete and release the remaining route-controller convergence with deterministic local parent selection and quality ownership.
|
||||
2. Release live audio-ceiling mutation and paused-share codec switching on the resulting generation/transition boundary.
|
||||
3. Reproduce the H.264 startup report before any codec-specific repair, and build the strict-NAT emulator gate before any manually approved canary in an operator-owned test room.
|
||||
4. Add first-frame-driven Viewer connection stages and finish the remaining accepted functional and real-network work.
|
||||
|
||||
Reference in new issue
Block a user