17 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2026-05-03 12:22:33 -03:00
# Upstream Media v1 Quarantine
This folder preserves the old upstream media planner for reference only. It is intentionally outside the active Cargo module tree.
Good ideas worth reusing later, after v2 is stable:
- Explicit client timing sidecars for capture/send/queue age.
- Diagnostics windows for capture skew, send skew, receive skew, and sink handoff skew.
- Single-owner leases for camera and microphone streams.
- A single UAC sink permit so reconnects do not double-open ALSA.
Reasons this was quarantined:
- Bundled A/V was unpacked into independent events and scheduled one by one.
- Freshness recovery, output compensation, startup pairing, and per-kind drops interacted in ways that could create delay or asymmetry.
- The active bundled path was too complex to reason about while debugging real Google Meet lip sync.
The v2 active path must stay small: when video is present, audio and video travel in one bundle and the server releases that bundle coherently. Sync first, freshness second, smoothness third.