Merge claude/gifted-lovelace-1crlx2 (the decoders) into the negotiation work
The development branch gained FFmpeg's decoders and the decoder ladder. Conflicts only in text: the changelog keeps both entries, media.md the H.264 profile ladder next to the new VideoPipeline description, the interop README both sets of Chromium findings, and browser_codecs.rs both the per-format viewer sink and the new pipeline test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
a990b7c49b
29 files changed
+2753
-157
No files matched your search
@@ -14,6 +14,7 @@ TeamSpeak server is involved.
|
||||
| `browser_streams_to_rust` | Chromium offers a canvas `captureStream` and an oscillator with VP8, VP9, H264 and AV1 preferred in turn (codecs the browser cannot send are skipped); our viewer `Peer::answer` must receive frames of that codec and Opus, over `AES_CM_128_HMAC_SHA1_80`. VP8 also uses trickled browser candidates and checks that a PLI brings a keyframe |
|
||||
| `real_encoders_decode_in_browser` (voelin-core) | Every encoder this machine has (`Codecs::encoders()`), as a share uses it: the 1280x720 test pattern through the `Streamer`, VA-API encoders also from DMA-BUFs as the ScreenCast portal hands over the screen; our streamer peer offers that codec alone (H.264 as the ladder of the offer, Constrained High then Constrained Baseline), and the `Streamer` encodes the format the browser's answer chose, as for a viewer of a real stream; the browser must decode at least 60 frames at 1280x720 in 3 s, and H.264 must carry the chosen profile in its SPS. Codecs the browser does not answer (HEVC, H.264 in Playwright's Chromium) are skipped |
|
||||
| `share_offer_picks_a_codec_every_client_decodes` (voelin-core) | The offer a share makes on this machine (`preferred_codec`, `peer_config`): the browser, answering with the first codec of the offer it lists as the official client does, must pick one every TeamSpeak client decodes (`decoded_everywhere`), and decode it |
|
||||
| `browser_streams_decode_in_the_pipeline` (voelin-core) | The other way: Chromium sends its canvas (320x240) in AV1, VP9 and H.264 in turn (skipping what it cannot send) to our viewer peer, which accepts what this machine decodes (`peer_config`); the engine's `VideoPipeline` must decode 30 pictures at 320x240 with the first decoder of the codec's ladder (`Codecs::decoders_for`), keyframe requests going to the browser as PLIs |
|
||||
| `browser_renegotiates_with_rust` | Chromium streams VP8, then sends a new offer on the same connection with VP9 first (as the official client re-offers when it does not encode the codec we chose); `Peer::renegotiate` answers on the same peer, in the new offer's codec order; VP9 frames must arrive |
|
||||
| `trickled_candidates_reach_browser` | A server-reflexive candidate (from a fake STUN server) as our sessions trickle it (`iceCandidate` signal with the peer's mid) is accepted by `addIceCandidate` |
|
||||
| `browser_mdns_candidates_connect` | Chromium with its host addresses behind mDNS names (`VOELIN_BROWSER_MDNS=1`, see below) and our candidates kept from it, so only resolving its names can connect: our streamer (names in its answer) and our viewer (names in its offer) connect and the media flows |
|
||||
@@ -82,6 +83,9 @@ may hide its addresses the same way; see `docs/protocol-notes/ts6-streaming.md`.
|
||||
entry and decodes what an encoder in Constrained Baseline makes
|
||||
(`h264_vaapi`, also from DMA-BUFs, and `libx264`: 90 of 90 frames,
|
||||
2026-10-03).
|
||||
- Chromium 152 (Arch Linux build, `VOELIN_CHROMIUM=/usr/bin/chromium`) sends
|
||||
AV1, VP9 and H.264; our pipeline decodes all three on the GPU here (AMD,
|
||||
VA-API: `av1_vaapi`, `vp9_vaapi`, `h264_vaapi`), at the canvas's size.
|
||||
- Chromium 152 offers DTLS 1.3 and 1.2; our peers (1.2) get 1.2. Allowed
|
||||
1.3, dimpl negotiates it with Chromium 152 (`tlsVersion` `FEFC`,
|
||||
`TLS_AES_128_GCM_SHA256`) and the stream decodes; it is not turned on
|
||||
|
||||
Reference in new issue
Block a user