From 7c3baf95e8aa5b39eefb7ebcac892329efcfd3aa Mon Sep 17 00:00:00 2001 From: selikhov Date: Sat, 3 Oct 2026 18:55:18 +0300 Subject: [PATCH] Describe the layer picker's live run and what to check with the official client A real two-layer VP8 stream of the test pattern through the TeamSpeak 6 dev server: the viewer asked for layer 1 and decoded 640x360 pictures at an estimate that fits layer 0. The manual matrix gets ST6, the check that needs the official client: it watches a stream whose offer carries the layer list, and our viewer never sends it the layer request. Co-Authored-By: Claude Opus 5.5 --- docs/media.md | 2 +- docs/testing/manual-matrix.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/media.md b/docs/media.md index 9925fec..7df827d 100644 --- a/docs/media.md +++ b/docs/media.md @@ -1033,7 +1033,7 @@ has not run on Windows yet. | Offer [VP9, VP8], a viewer that decodes only VP8 → its own VP8 encoder, VP9 idle, pictures decoded | `voelin-core/tests/media_live.rs` `ts6_viewer_gets_the_codec_it_chose` (`VOELIN_LIVE=1`) | tested against the TeamSpeak 6 dev server (our client on both ends) | | Several codecs against official TeamSpeak viewers | – | not tested (no official client here) | | Viewer counts: `viewer` of `notifystreaminfo`, counted up and down from the viewers joining and leaving, refreshed one stream at a time | `voelin-stream` `proto::tests::stream_info_answers`, `session::tests::viewer_counts`; `voelinctl stream list` | tested; against the TeamSpeak 6 dev server `stream list` printed "1 watching" while a viewer watched and "0 watching" after | -| A viewer picks a layer: the offer's `a=x-voelin-layers`, `Signal::Layer`, the streamer moving it (and back with "Auto"); no request to a streamer whose offer lists no layers | `voelin-stream` `layer::tests::layers_in_the_sdp`, `tests/sessions.rs` `viewer_picks_a_layer` and `no_layer_request_without_the_offer_listing_layers` (two sessions, peers on loopback); `voelinctl stream watch --layer 1` against `stream start --placeholder --layer 1.0:2000k --layer 0.5:500k` | tested, also through the TeamSpeak 6 dev server (the viewer stayed on layer 1 at a 2.5 Mbit/s estimate that fits layer 0) | +| A viewer picks a layer: the offer's `a=x-voelin-layers`, `Signal::Layer`, the streamer moving it (and back with "Auto"); no request to a streamer whose offer lists no layers | `voelin-stream` `layer::tests::layers_in_the_sdp`, `tests/sessions.rs` `viewer_picks_a_layer` and `no_layer_request_without_the_offer_listing_layers` (two sessions, peers on loopback); `voelinctl stream watch --layer 1` against `stream start --placeholder --layer 1.0:2000k --layer 0.5:500k` | tested, also through the TeamSpeak 6 dev server: the viewer stayed on layer 1 at a 2.5 Mbit/s estimate that fits layer 0, and with a real two-layer VP8 stream of the test pattern (`stream start --synthetic --size 1280x720 --layer 1.0:3000k --layer 0.5:800k`) it decoded 640x360 pictures at a 3 Mbit/s estimate | | An offer with `a=x-voelin-layers` against libwebrtc | `tests/browser_interop.rs` `rust_streams_to_browser` (`VOELIN_INTEROP=1`, system Chromium 152 through `playwright-core`) | tested: answered and decoded as before. The official client itself not tried | | Test pattern → VP8 → decoder, rectangle position and colour; decoded frame rate and received bitrate | `voelin-core` `media::tests::local_preview_decodes_the_pattern`; the watch screen with the sample stream (`scripts/shots.sh ... watch`) | tested: the screenshot showed "VP8 · 1280×720 · 30 fps · 0.4 Mbit/s" over the player | | Test pattern → two engine stream tasks → str0m peers on loopback → decoder | `voelin-core` `stream::tests::test_pattern_through_stream_tasks` | tested | diff --git a/docs/testing/manual-matrix.md b/docs/testing/manual-matrix.md index 005e20b..3de57d3 100644 --- a/docs/testing/manual-matrix.md +++ b/docs/testing/manual-matrix.md @@ -50,6 +50,13 @@ noted. - **ST5** H.264: enable OpenH264 (download on first use, attribution text shown next to the switch), stream to the official client and watch its H.264 stream. Disable it again: H.264 is no longer offered. +- **ST6** Our stream with two simulcast layers (Settings → Streaming, or + `voelinctl stream start --synthetic --layer 1.0:3000k --layer 0.5:800k + --auto-accept`): its offer then carries Voelin's `a=x-voelin-layers` line. + Pass: the official client watches as in ST1. While it watches the + official client's stream (ST2), our viewer shows no quality picker and + sends no `x-voelin-layer` signal (`RUST_LOG=voelin_stream=debug`, or + `--log-commands`: no `streamsignaling` with `x-voelin-layer`). | ID | Platform | Result | Date | Version | Notes | |---|---|---|---|---|---| @@ -72,6 +79,7 @@ noted. | ST4 | KDE | | | | | | ST5 | GNOME or KDE | | | | | | ST5 | Win11 | | | | | +| ST6 | any | | | | | ## Global push-to-talk