07ccff4241
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.
1.9 KiB
1.9 KiB
DomiStream — handover
stream-v0.1.0 (2026-11-26)
The GameStream client, sans-I/O, for Arena Domi TV (Play remotely Day 1).
| Part | Module |
|---|---|
| pairing handshake (4-phase PIN exchange, client cert), serverinfo, app list, launch | pairing, http |
| RTSP client and framer, SDP | rtsp |
| ENet 1.3-compatible client peer | enet |
| control channel (AES-GCM, replay refusal), input and gamepad messages | control, input |
| RTP, Reed-Solomon FEC, video depacketizer (FEC recovery), Opus audio depacketizer (4 + 2 FEC) | rtp, fec, video, audio |
Evidence (worktree checks, 2026-11-26, every run gated on CPU, RAM and drives below 90 %):
cargo test --workspace: 242 passed, 0 failed. QA wrote the tests before the code; vectors come from OpenSSL 3.5, Python hashlib and .NET 10, with test-only keys.- Mutation pass: 24 of 24 caught (
docs/MUTATION.md, rerunnable withtools/mutation/mutate.py). - Fuzz: 25 targets × 60 s, 0 crashes, from 59,665 (pairing_session) to 101 M (rtp_header) executions; then
pairing_session for 600 s: 574,761 runs, 0 crashes. Windows MSVC, SanitizerCoverage, libFuzzer (
fuzz/). - clippy
-D warnings, fmt and rustdoc-D warningsare clean.getrandomis not in the dependency tree.
Open (see docs/PROTOCOL.md §UNKNOWN):
- Interop unverified. U1, U2, U4–U10 and U17 block a real stream; they are settled live on Play remotely Day 1
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-relayand 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 bookdocs/LIVE-INTEROP.md.