Document the H.264 profile ladder and the socket buffers

media.md: H.264 offered as Constrained High then Constrained Baseline,
one encoder per format viewers chose, and the tests that prove it (the
SPS profiles, a Baseline-only viewer, headless Chromium answering the
Baseline entry). The protocol notes and the interop README record what
Chromium 152 does with the ladder; architecture.md the socket buffers
and how losses are repaired, with the measurements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
selikhovandClaude Opus 5.5 committed 2026-10-03 22:57:23 +03:00
1 parent 52c3dbf34f
commit 675a057153
4 files changed
+52 -22

No files matched your search

+11
View File
@@ -246,6 +246,17 @@ Transport details of our stream (`voelin-stream`):
patch for it (`VOELIN-PATCH.md`). The order is a setting
(`Streams::set_srtp_profiles`, `Command::SetSrtpProfiles`) and applies to
new connections.
- **Losses**: each peer socket asks for 4 MB of receive and send buffer
(`PeerConfig::udp_buffer`; Linux caps it at `net.core.rmem_max`, and
what was granted is logged, with a hint when it is less): the default
208 KB overflowed under a 1440p keyframe on loopback (118-209 datagrams
per 5 s of a 9 Mbit/s stream), the larger buffer dropped none
(`tests/loopback.rs` `high_bitrate_bursts`). What is still lost is
repaired by NACK and retransmission (RTX), which our answers keep for
every video codec; str0m waits up to 30 complete frames for a
retransmission before it hands a frame over as non-contiguous
(`losses_are_repaired_by_retransmission`: one packet in 25 lost, every
frame whole).
- **Bandwidth estimation and pacing**: each viewer connection of our stream
runs str0m's send-side estimation (transport-cc feedback; REMB if a viewer
sends only that) and paces packets to it. Estimates are per viewer