[repo] Docs: the L1 black-box measurement of Arena Domi Remote against lumen-host [L1]; handover evidence (422 tests, mutation 26/27 + 1 equivalent, host_pairing 601 s)
This commit is contained in:
+10
-10
@@ -22,27 +22,27 @@ Fixed on the client side (tests first, separate commits):
|
|||||||
app cap could never be reached. Now 4095 = (`MAX_XML_ELEMENTS` − 1) / 4 on both sides.
|
app cap could never be reached. Now 4095 = (`MAX_XML_ELEMENTS` − 1) / 4 on both sides.
|
||||||
|
|
||||||
Evidence (worktree checks, 2026-12-04, every cargo run gated on CPU and RAM below 90 % and drives below 95 %):
|
Evidence (worktree checks, 2026-12-04, every cargo run gated on CPU and RAM below 90 % and drives below 95 %):
|
||||||
- `cargo test --workspace`: **TESTS passed, 0 failed**, among them `tests/session.rs`: a whole session between our
|
- `cargo test --workspace`: **422 passed, 0 failed**, among them `tests/session.rs`: a whole session between our
|
||||||
client and our host in memory (pairing with the owner typing the code, HTTPS, launch, RTSP, ENet + START_B, sealed
|
client and our host in memory (pairing with the owner typing the code, HTTPS, launch, RTSP, ENet + START_B, sealed
|
||||||
video with FEC repairing exactly the parity budget per block and a burst beyond it reported lost and answered with
|
video with FEC repairing exactly the parity budget per block and a burst beyond it reported lost and answered with
|
||||||
invalidation and an IDR request, sealed audio, input, gamepad, rumble, termination), plus the Tessera-trusted path
|
invalidation and an IDR request, sealed audio, input, gamepad, rumble, termination), plus the Tessera-trusted path
|
||||||
and an unpaired client refused over HTTPS.
|
and an unpaired client refused over HTTPS.
|
||||||
- Mutation pass on the host modules: **MUTATION** (M25–M51, `docs/MUTATION.md`); the client rows M1–M24 are those
|
- Mutation pass on the host modules: **26 of 27 caught, 1 equivalent** (M25–M51, `docs/MUTATION.md`; M36 first survived and got a test; M39 is unreachable for a fresh peer slot); the client rows M1–M24 are those
|
||||||
of v0.1.0.
|
of v0.1.0.
|
||||||
- Fuzz, host targets (module engineers; Windows MSVC, SanitizerCoverage, libFuzzer), **0 crashes**: host_http_request
|
- Fuzz, host targets (module engineers; Windows MSVC, SanitizerCoverage, libFuzzer), **0 crashes**: host_http_request
|
||||||
8,784,228 runs in 75 s; host_pairing 45,096 in 75 s; rtsp_server 895,897 in 121 s; announce 11,659,642 in 121 s;
|
8,784,228 runs in 75 s; host_pairing 45,096 in 75 s, then 778,128 in 601 s (lead, 2026-12-04); rtsp_server 895,897 in 121 s; announce 11,659,642 in 121 s;
|
||||||
enet_host 2,534,001 in 60 s, then 26,839,291 in 600 s; control_host 611,513 in 60 s; video_packetizer_roundtrip
|
enet_host 2,534,001 in 60 s, then 26,839,291 in 600 s; control_host 611,513 in 60 s; video_packetizer_roundtrip
|
||||||
113,740 in 76 s. 32 targets in all; the 25 client targets' runs are those of v0.1.0.
|
113,740 in 76 s. 32 targets in all; the 25 client targets' runs are those of v0.1.0.
|
||||||
- clippy `-D warnings`, fmt and rustdoc `-D warnings` are clean.
|
- clippy `-D warnings`, fmt and rustdoc `-D warnings` are clean.
|
||||||
|
|
||||||
Open:
|
Open:
|
||||||
- **Interop with real clients unverified.** Arena Domi Remote (Android emulator) and the Moonlight PC app against
|
- **Interop with real clients: pairing, serverinfo and applist measured.** Arena Domi Remote 0.1.2 in the Android
|
||||||
lumen-host's listeners, black-box (D2), at the end of L1.
|
emulator paired with Arena's lumen-host L1 skeleton (this release's host side) over loopback and listed all games
|
||||||
- **START_B, PERIODIC_PING, IDR request from our own client.** `ControlStream` refuses them (bodies U10), so with it
|
(PROTOCOL.md, "Measured" [L1]). Streaming against a real client starts in L2. The Moonlight PC app is not
|
||||||
alone our client cannot start a stream on our host, and a host with the default 60 s stop deadline would end the
|
measured yet.
|
||||||
session. The session test sends them with empty bodies over `EnetClient` + `ControlCipher`, as gs-probe does.
|
- **START_B, PERIODIC_PING, IDR request from our own client.** `ControlStream` refuses them (bodies U10); decided:
|
||||||
Decision for the lead: let `ControlStream` send empty bodies (what Moonshine and Lumen read) or wait for U10.
|
it sends them with empty bodies, with the first streaming client of L2. The session test sends them over
|
||||||
- The plan's long fuzz run (7.1) was made for enet_host (600 s) but not for host_pairing (75 s).
|
`EnetClient` + `ControlCipher`, as gs-probe does.
|
||||||
- Audio parity (U16), `HDR_MODE` and the plain `TERMINATION` are refused on the host until measured.
|
- Audio parity (U16), `HDR_MODE` and the plain `TERMINATION` are refused on the host until measured.
|
||||||
|
|
||||||
## stream-v0.1.0 (2026-11-26)
|
## stream-v0.1.0 (2026-11-26)
|
||||||
|
|||||||
+28
-2
@@ -28,8 +28,33 @@ there, still open: the client's `ControlStream` refuses to send `START_B`, `PERI
|
|||||||
(bodies U10, 3.3). With `ControlStream` alone our client cannot start a stream on our host, and a host with a stop
|
(bodies U10, 3.3). With `ControlStream` alone our client cannot start a stream on our host, and a host with a stop
|
||||||
deadline (60 s by default) would end the session; the session test sends the three with empty bodies over
|
deadline (60 s by default) would end the session; the session test sends the three with empty bodies over
|
||||||
`EnetClient` and `ControlCipher`, as `tools/gs-probe` does. The host keeps the client's `updateState` (1.5, U1) for the
|
`EnetClient` and `ControlCipher`, as `tools/gs-probe` does. The host keeps the client's `updateState` (1.5, U1) for the
|
||||||
logs without reading it. Interop with real clients (Arena Domi Remote, the Moonlight PC app) is unverified: it is measured black-box
|
logs without reading it. **Decided (lead, 2026-12-04):** `ControlStream` will send the three with empty bodies,
|
||||||
(decision D2).
|
what Moonshine and Lumen read; it lands with the first streaming client of L2, and U10 stays open for Sunshine.
|
||||||
|
|
||||||
|
### Measured: Arena Domi Remote against lumen-host [L1]
|
||||||
|
|
||||||
|
Our own black-box measurement (decision D2), 2026-12-04: Arena Domi Remote 0.1.2 (a GameStream client; its code is
|
||||||
|
never read) in the Android emulator on the reference PC, against Arena's lumen-host L1 skeleton (DomiStream
|
||||||
|
`337f6a7`) on loopback, HTTP 48989 / HTTPS 48984, reached as `10.0.2.2:48989`. Facts from lumen-host's request log
|
||||||
|
and the operator's notes:
|
||||||
|
- The client accepts a host entered as `address:port` and uses that port for HTTP; it then reached HTTPS on the port
|
||||||
|
serverinfo gave (`HttpsPort`). While unpaired it polls `/serverinfo` over HTTP every 0.5 to 2.5 s.
|
||||||
|
- Every request carries `uniqueid=0123456789ABCDEF` (the same on every request) and a parameter `uuid` with a fresh
|
||||||
|
random UUID per request (not in sections 1.1-1.5; the host ignores it).
|
||||||
|
- **Pairing (U1, for this client):** five requests in the order of 1.5, phase 4 (`clientpairingsecret`) before
|
||||||
|
phase 5; phases 1-4 over HTTP, phase 5 (`phrase=pairchallenge`) over HTTPS with the client certificate. Every
|
||||||
|
phase also carries `devicename` and `updateState=1`. With the code typed on the host the client showed the PC as
|
||||||
|
paired about 12 s after the code was entered. DomiStream's host pairing (1.5) and lumen-host's TLS (TLS 1.3 offered,
|
||||||
|
ALPN `h2` and `http/1.1`, a self-signed client certificate) were accepted without change.
|
||||||
|
- After pairing: `/serverinfo` and `/applist` over HTTPS; the client showed all 11 games of the applist.
|
||||||
|
- **Box art:** `/appasset?appid=<id>&AssetType=2&AssetIdx=0` over HTTPS for each app, retried about every 2 s while
|
||||||
|
it fails (lumen-host L1 answered 404; the client showed no covers).
|
||||||
|
- **Launch (U4, for this client):** `/launch` over HTTPS with `appid`, `mode` (`1280x720x60`), `additionalStates=1`,
|
||||||
|
`sops=1`, `rikey`, `rikeyid`, `localAudioPlayMode=0`, `surroundAudioInfo=196610`, `remoteControllersBitmap=0`,
|
||||||
|
`gcmap=0`, `gcpersist=0`, `corever=1`, plus `uniqueid` and `uuid`. An answer with HTTP status 503 is shown as
|
||||||
|
"Failed to start <game> (error 503)".
|
||||||
|
|
||||||
|
The other clients (the Moonlight PC app, Arena Domi TV) are measured when they connect.
|
||||||
|
|
||||||
**Tags** (details in the source log, [CLEAN_ROOM.md](CLEAN_ROOM.md)):
|
**Tags** (details in the source log, [CLEAN_ROOM.md](CLEAN_ROOM.md)):
|
||||||
|
|
||||||
@@ -38,6 +63,7 @@ logs without reading it. Interop with real clients (Arena Domi Remote, the Moonl
|
|||||||
| [W1]-[W7] | Wolf docs: index, pairing, RTSP, control, RTP video, RTP Opus, input (S-1 to S-7) |
|
| [W1]-[W7] | Wolf docs: index, pairing, RTSP, control, RTP video, RTP Opus, input (S-1 to S-7) |
|
||||||
| [M] | Moonshine `f184d5e` (S-9). A host implementation: we mirror its behaviour for the client. |
|
| [M] | Moonshine `f184d5e` (S-9). A host implementation: we mirror its behaviour for the client. |
|
||||||
| [M*] | Moonshine, but the value has GPL provenance (Moonshine cites Sunshine or moonlight-common-c). Confirm by measurement before use. |
|
| [M*] | Moonshine, but the value has GPL provenance (Moonshine cites Sunshine or moonlight-common-c). Confirm by measurement before use. |
|
||||||
|
| [L1] | our own black-box measurement of Arena Domi Remote 0.1.2 against lumen-host, 2026-12-04 ("Measured" above) |
|
||||||
| [T] | tokio-enet `364628e` (S-10), approved 2026-11-25 |
|
| [T] | tokio-enet `364628e` (S-10), approved 2026-11-25 |
|
||||||
| [E] | stock ENet v1.3.18 `2662c0d` (S-17), MIT, approved 2026-11-25 |
|
| [E] | stock ENet v1.3.18 `2662c0d` (S-17), MIT, approved 2026-11-25 |
|
||||||
| [F] | fec-rs README and source `402f41f` (S-13, S-18), BSD-2, approved 2026-11-25 |
|
| [F] | fec-rs README and source `402f41f` (S-13, S-18), BSD-2, approved 2026-11-25 |
|
||||||
|
|||||||
Reference in New Issue
Block a user