[probe] gs-probe: desktop GameStream probe client and the live interop run book

tools/gs-probe (own workspace, never published): `probe serverinfo | pair | apps | launch <app-id> | quit | unpair`
against one host address, driving DomiStream's pairing, HTTP, RTSP, ENet, control, video and audio state machines
over real sockets. Structured JSONL log per run (requests, answers, timings, the U each record bears on, parser
errors with their bytes), secrets redacted (rikey, pairing values; PIN never logged; registered key hex scrubbed from
every line). Test-only client key and cert in --out. Video: frames, decode-ready frames, FEC recoveries, losses,
elementary-stream dump, live U14 parity check; audio: packets, losses, decrypting vs plain receivers (U17), packet
dump and offline U16 solver (`solve-audio-fec`). START_A/START_B/PERIODIC_PING/IDR bodies come from the command line
(U10).

docs/LIVE-INTEROP.md: the sitting's run book (preparation, sequence S0-S5 with the U each step settles, variants,
log reading, where each fact lands in PROTOCOL.md and the code, stop-and-report rule, clean-up, Mark's timeline).

Built and unit-tested only (41 tests, clippy -D warnings, fmt); never run against a host.
This commit is contained in:
2026-11-30 10:57:07 +01:00
parent a3c8cea7a6
commit 07ccff4241
17 changed files with 4909 additions and 0 deletions
+2
View File
@@ -25,3 +25,5 @@ Open (see `docs/PROTOCOL.md` §UNKNOWN):
against the pinned Sunshine (Mark, 2026-11-25: "COntinue roadmap without the check"). Expect `stream-v0.1.x`.
- U16 (audio parity matrix: audio plays without it at zero loss) and U19 (video encryption layout).
- `tools/lab-relay` and its scripts were never run (`docs/LAB_CAPTURE.md`); they're kept for byte logs on Day 1.
- The live sitting is prepared: `tools/gs-probe` (a desktop probe client driving these state machines over real
sockets, built and unit-tested, never run against a host) and its run book `docs/LIVE-INTEROP.md`.