Files
piik/docs/verification-status.md
T
AAA 5781d6bbfa feat(client): complete native source and release boundary
Complete the Native Client source/audio boundary, strict v5 loopback contract, Browser media lifecycle handling, and non-blocking release checks. Keep unverified platform/physical gates explicit; do not rewrite the Go Server.
2026-09-04 03:42:54 +08:00

7.1 KiB

Verification Status

Last updated: 2026-09-04

This file owns only cross-module physical evidence that still changes how the current product may be described. Status owns exact source and production identity; product modules and ADRs own accepted behavior; tests and Git own completed implementation evidence.

Route And Network

Still required on representative public networks:

  • direct Host-to-Viewer P2P;
  • Peer-fed and SFU-fed Browser relay, including a second-level child;
  • Host and Viewer TUN/VPN cases;
  • relay-ingress failure with subtree retention;
  • disconnect and effective-capacity drain;
  • two simultaneous rooms with independent SFU publications;
  • measured endpoint upload and server ingress/egress during steady routing and make-before-break overlap;
  • 20-Viewer queue tail, route depth, resource use, and endurance; and
  • all-UDP-blocked bounded failure.

The route model, capacity C=1..3, first-frame commit, rollback, SFU admission, and managed-room lifecycle have automated invariant coverage. That coverage does not prove target-network quality, latency, or interoperability. See ADR-0005 and the routing contract.

Media Quality

Still required:

  • real games at 720p30, 1080p30, and 1080p60 on weaker Hosts;
  • actual H.264/VP8 encoder paths and sustained CPU/GPU contention on Windows, macOS, and Linux;
  • mixed P2P/SFU quality and recovery on heterogeneous public networks;
  • screen-audio presence, stereo correctness, weak-network behavior, and A/V synchronization after SFU RED was disabled; and
  • long-running encode/decode cost, thermals, frame delivery, and resource admission at the 20-Viewer bound.

Current controlled Browser evidence supports the H.264/VP8 gate, motion content intent, startup-quality workaround, LiveKit-owned SFU adaptation, native edge convergence, and same-edge connection regeneration invariants. The 2026-08-30 production comparison confirms recovery on a fresh same-route sender, but does not establish its quality or resource benefit on heterogeneous public networks. Room 8489 confirms synchronized SFU stalls and representation churn, but retained logs do not prove whether Dynacast layer disablement, subscriber forwarding, or keyframe reacquisition owned each freeze. See media quality and realtime quality research.

Browser Lifecycle

Still required on physical Android Chrome and iOS Safari:

  • autoplay and user-gesture recovery;
  • foreground/background audio;
  • foreground video recovery after background or lock;
  • page reclamation and BFCache behavior;
  • rotation and viewport changes;
  • Wi-Fi/cellular migration; and
  • survival or controller recovery when the mobile Viewer is a relay.

Desktop Host background/minimized capture also remains unconfirmed under a current-production real game. Web code cannot promise OS background execution, page retention, or capture keepalive. See presentation and lifecycle and background capture research.

Screener Client

The Go Client has unit coverage for persistent Local/Site configuration, LAN address selection, Browser launch commands, bounded Node supervision, its loopback port/Origin/Host/session contract, and exact package revision. The same source cross-builds for Windows amd64, macOS arm64, and Linux amd64.

On Windows, Chrome for Testing 151.0.7922.138 completed the built Local page's fragment access, Host surface, LAN invitation, and clean Client/Node/Browser shutdown. A separate synthetic run formed a P2P-only Host-plus-three-Viewer tree with one Browser relay and advancing frames at every Viewer. The Hosted Site completed loopback hello/ping after CDP granted loopback-network; without that permission Chrome blocked it as expected. The exact clean-revision Windows package assembled with Node 24.19.0 passed both Client gates; changing app/REVISION made it fail before opening a listener. The same explicit-target assembly produced a Linux amd64 package that ran its bundled Node application and loopback runtime on an independent Ubuntu host. Its full package also created a public link reachable from another network and closed that link and all local ports on exit. The macOS arm64 output contains matching Mach-O arm64 Client and Node binaries; its capture sidecar compiles on the macOS runner and passes the synthetic hardware-H.264 IDR self-test, but the full package and ScreenCaptureKit path have not run on a physical Mac.

Still required are physical second-device LAN playback, first-run LNA prompt, no-STUN mDNS behavior, macOS package execution, and equivalent non-Windows capture, audio, firewall, and process-lifecycle tests. Windows native capture, hardware H.264, one shared Pion source feeding two Chrome transports, STUN candidate gathering, and a Local Client Host path have bounded physical gates. A remote Pion gate also received 30 video packets over a selected srflx-to-srflx pair; its signaling used a temporary reverse SSH test path. The Windows media gate now also receives non-zero process/system-loopback Opus on both native edges and verifies decoded audio energy. The native Host gate passes display and window source selection and bounded previews; its window arm closes the captured source, observes the current share end, restarts capture in the same room, and requires the existing Viewer to receive a different media object plus 30 new frames. Display-source lifecycle is not claimed by that arm. Native P2P quality evidence and the Browser-mediated native-source SFU happy path now have bounded gates. Production package integration, SFU recovery and endurance, and physical non-Windows capture remain unproved.

The one-link gate started a session-scoped public origin from a Windows Client, confirmed that its ordinary invitation used that origin, and served the Viewer page plus the existing /signal WebSocket upgrade to an independent Linux host. A native Host then used that public signaling path with an independent Linux Pion Viewer; repeated runs delivered 30+ H.264 RTP packets over selected direct paths using a reflexive candidate. Client exit stopped Node and the public link. This still does not prove decoded Browser media on a physical second device.

The same clean revision assembled into a self-contained Windows package with a matching Node runtime, application tree, and native capture process. Chrome 151 passed the package's Local startup gate and both Site loopback-permission arms; revision mismatch remains fail-closed before a listener starts.

Interpretation Rules

  • Configuration, unit tests, loopback, and synthetic signaling prove invariants, not target-network or device behavior.
  • Missing RTCStats fields are unknown, not zero.
  • Requested quality values are ceilings; actual sender/receiver stats are truth.
  • A page-lifecycle correction is recovery logic, not a keepalive guarantee.
  • Expensive evidence remains applicable only while its protocol, component, configuration, environment, and acceptance boundary remain materially the same.