Files
piik/docs/verification-status.md
T
AAA 24e9b639a8 feat: add attended remote control and refine shared viewing (#482)
Piik can now let one invited Viewer control the Host's shared desktop or window, using the existing media route and explicit source-scoped consent. This phase also finishes Viewer playback settings, the combined interaction window, the shared control/theme/icon polish, and concrete forwarding-feedback recovery fixes.

Remote input stays off by default, uses one controller and releases held input on revocation, retirement or loss. Existing 2.x sharing remains compatible; new capabilities are negotiated with supporting App/Site/relay peers. No virtual input driver, new media listener or route planner is added.

Validation: full Web check (97 files / 1,677 tests), Windows Go/native checks; seven real Browser/App lifecycle scenarios covering P2P, SFU and fallback-to-direct continuity; existing cross-version and physical Windows routed-input evidence; native macOS/Linux packaging, Go race/security and container checks through the publishing pipeline. Physical macOS/Linux permissions, mobile devices, mixed DPI and commercial games retain their documented limits. README/wiki keep deployment under the optional self-hosted Server chapters.

Refs #472, #477, #479, #480. Issue follow-up happens after publication; unmatched field reports remain open.

## Release notes

### 中文

这是一次功能更新:一起看屏幕时,可以把键鼠交给一位朋友操作,聊天和表情也整合进了同一个互动窗口。本次还整理了分享与播放设置,并修复部分连接恢复和中转画质停滞的问题。

#### 新功能与体验

- **可选键鼠远控**:房主可以让一位朋友操作当前分享的桌面或窗口,随时撤回授权;换源或停播后关闭远控。提供手机触控、缩放和小键盘。当前实机验证覆盖 Windows App。
- **观众播放设置**:新增完整显示、等比铺满、拉伸铺满,以及自动/仅 P2P/仅 SFU 线路选择;站点和房主的线路限制仍然生效。
- **互动窗口**:聊天、参与者和表情放在同一窗口;可以从聊天头像选择接收者,新增点赞、倒彩等表情。支持的浏览器可以独立置顶,继续查看聊天和互动。全屏保留弹幕开关。
- **分享与播放设置更清楚**:暂停与停止相邻,画面、声音、连接和远控各有对应入口。观众播控在移动鼠标时显现,远控时收进画面边缘的小抽屉;点击画面不再意外暂停。没有声音输入时播控给出明确反馈,恢复输入后保留观众的音量设置。

#### 修复

- **连接与播放修复**:修正部分中转路径的媒体时钟、往返时间与重复反馈统计,改善这些错误导致的画质恢复停滞;重新进入房间后,SFU 连接仍可继续尝试直连。同步底层握手恢复修复。
- **界面修复**:修复浮窗返回后遮挡全屏、无法操作,窄屏控件错位、菜单超出边界等问题。虚拟键盘长按不会选中文字,拖出、取消或失焦后释放按键。页面和选源面板统一中性底色;App 图标与 favicon 保留小电视轮廓,精修对比度与底板层次。
- **兼容性修复**:新表情按站点支持情况显示,避免旧站点拒收后断开连接。补齐旧浏览器的浮层支持;修正 macOS `.app` 对包外启动文件的依赖。macOS 的 Finder、权限和远控仍需实机验证。

#### 更新说明

沿用 2.x 兼容边界。使用远控需要更新房主 App 和所连接的站点;要获得完整的中转修复,请同时更新 App 与自部署 Server。

### English

This feature update lets a Host hand keyboard and mouse control to one friend while sharing a screen. Chat and reactions now share one interaction window. It also clarifies sharing and playback settings and fixes specific connection-recovery and server-forwarding quality stalls.

#### Features and experience

- **Optional keyboard and mouse control:** the Host can let one friend control the shared desktop or window and revoke access at any time. Changing sources or stopping sharing disables control. Touch controls, zoom and an on-screen keyboard are included. Physical validation currently covers the Windows App.
- **Viewer playback settings:** choose fit, crop or stretch, and Auto, P2P-only or SFU-only routing. Site and Host restrictions still apply.
- **One interaction window:** chat, participants and reactions stay together. Choose a recipient from their chat avatar and use new reactions, including thumbs up and down. Supported browsers can detach the window and keep chat and reactions visible on top. Fullscreen retains the chat-overlay toggle.
- **Clearer sharing and playback controls:** pause and stop stay together, with separate picture, sound, connection and remote-control settings. Pointer movement reveals the playback bar during viewing; remote control uses a small drawer at the picture edge. Clicking the picture no longer pauses it accidentally. Sound controls reflect missing input and retain the Viewer's volume when it returns.

#### Fixes

- **Connection and playback fixes:** correct media clocks, round-trip-time updates and duplicate feedback accounting on affected forwarding paths, improving recovery from the quality stalls caused by those errors. Rejoining a room restores direct-connection attempts while SFU playback continues. Incorporate upstream handshake-recovery fixes.
- **Interface fixes:** returning a detached tool during fullscreen no longer leaves an inaccessible panel over the picture. Fix compact-layout shifts and overflowing menus. Holding a virtual key no longer selects its label; release, cancellation and focus loss clear held keys. Pages and the source picker use shared neutral surfaces. Refine App icons and favicons while retaining the familiar television outline.
- **Compatibility fixes:** show new reactions only when the site supports them, preventing disconnects on older sites. Support popovers on older browsers and remove the macOS `.app` launcher's dependency on files outside the bundle. Finder, permissions and remote input still need physical macOS validation.

#### Updating

The existing 2.x compatibility boundary is retained. Remote control needs an updated Host App and site; update both App and self-hosted Server for the complete forwarding fix.
2026-10-19 01:58:33 +08:00

11 KiB

Verification Status

Last updated: 2026-10-19

This file owns physical evidence limits that change how the product may be described. Status owns the execution/deployment index. Product modules own behavior; research owns measurements; Git owns completed implementation and obsolete package history.

Current Evidence

Windows App and Browser are the owner's primary acceptance targets. Current Go packages embed their Web assets and do not run a Node backend. Status owns the accepted contract tuple and current release boundary; artifacts own the exact published build.

Bounded current checks cover:

  • Native H264/VP8 output, compatible encoding reuse, different weak-budget grouping, keyframe-safe retarget and independent retirement;
  • Windows live/paused/quiet-source settings, source replacement and subsequent sharing, including media-object continuity where required;
  • Native H264 SFU video and decoded Opus through a profile change and closure;
  • Browser-to-App fanout and App-exit fallback;
  • concurrent Native sessions with independent media and retirement;
  • complete large encoded access-unit transport and bounded queue/cache behavior;
  • Linux container startup as non-root with a read-only filesystem, memory/SQLite restart semantics, diagnostics export, STUN and listener lifecycle; and
  • public embedded-SFU H264/VP8, audio, live profile changes and closure after the coordinated production cutover.

The owner confirmed Windows 10 whole-display capture resolved. Chromium WebRTC/IP-handling policy explains the verified local-media failure; it is a Browser policy limitation, not a Vivaldi-specific transport workaround.

The Windows capture-border control and borderless previews have physical Windows 11 evidence. Unsupported Windows and actual border-permission denial remain device checks. The optional Windows 10 Windhawk procedure is documented from its author and has not been tested with Piik on Windows 10.

NAT traversal and Auto codec selection are implemented features, not unfinished functionality. On 2026-09-09 the owner confirmed that the new NAT traversal is useful in actual use. That field confirmation is accepted; it does not claim a population success percentage or identify which candidate won without a trace. Neither a statistical NAT campaign nor exhaustive Auto hardware benchmarking is required to close this phase. Investigate further only from a new failure or a measured improvement worth its implementation and maintenance cost.

Device Evidence Boundary

Attended keyboard/mouse control has Windows physical input and local routed acceptance for consent, revocation, held-key release and source geometry. Browser checks cover mobile touch/zoom/keyboard emulation, detached tools and Viewer playback preferences. Physical Android/iOS controllers, mixed-DPI displays, commercial games and an actual remote-device session remain unverified. macOS builds and packaging pass; Finder/Accessibility, focus, Retina and input still need a Mac. Linux compilation and synthetic input/release pass, while desktop Portal permissions and capture/input need physical acceptance. The remote-control assessment owns the mechanism and game-input limits. These limits do not claim parity with dedicated remote-control products.

Windows HDR-to-SDR has synthetic FP16 conversion and decoded H.264/VP8 Browser reception evidence. Local displays were in SDR mode; real HDR content, SDR white on HDR displays, mixed-display movement, display-mode changes and sustained GPU contention still require physical acceptance. The fidelity assessment owns measurements. These checks do not establish Browser-capture HDR behavior or end-to-end HDR.

Windows source-audio exclusion has bounded parent/child tone-isolation and target-exit evidence. It does not establish coverage of arbitrary process trees or real voice applications across playback devices. Windows 10 exclusion activation and tone isolation still need a physical device check. The audio assessment owns that distinction.

Room interactions have multi-page Browser evidence for stop/resume, idle-room join, Host departure/return, reconnect, invitation revocation and event timing. Responsive Browser checks cover narrow portrait and landscape layouts, but not real phone keyboards, Safari behavior or every touch/device combination. The owner accepted this bounded UI/model walkthrough for phase closure; these physical limits remain open and are not release authorization.

The numeric media controls still need physical limited-decoder, camera-orientation, macOS geometry and sustained game/4K acceptance. Check live changes and source replacement through relay/SFU, and listen across the audio control range. Existing mono/stereo and Windows HDR-to-SDR retain the fidelity boundary; additional codecs, surround delivery and end-to-end HDR are not implemented promises. The camera and microphone assessment owns levels, echo, device replacement/native mixing, OBS input synchronization and phone permission/orientation/background limits.

Passive App attachment needs cross-device Browser-permission checks for first and saved approval, Site replacement/revocation and Local coexistence. Local acceptance does not establish every Browser's permission behavior.

The 2026-09-11 functional test acceptance used two genuine Windows App packages and matching Server source/Web builds under the same private contract. Both App/Site version directions delivered decoded 1080p H264 from an isolated native test window. Replacing the Server process preserved SQLite Host authority, private code-entry policy, Viewer grant/password authorization and App configuration. Already-open Host/Viewer pages reauthenticated without reloading and completed subsequent sharing. Exact measured identity belongs to the package descriptors and local structured acceptance result; Git retains the preparation history.

This is bounded single-machine Windows evidence. The local Server executables were built for Windows from the matching source; this run did not execute the Linux release archives. Process replacement used a forced stop on Windows and does not promise uninterrupted media. It does not cover game/audio endurance, storage faults or the wider device/network matrix.

The first public release passed real Server/three-platform App packaging and GitHub/Gitee publication, including anonymous mirror checksum verification. These packaging checks do not establish physical macOS/Linux capture or expand the device/network evidence below. Status owns current publication and activation state. Intel macOS runners can lack a usable hardware H.264 encoder. In that case, the VideoToolbox frame self-test is explicitly skipped; compilation and package startup do not establish Intel hardware capture. Verify it on a physical Intel Mac with macOS 13 or newer before claiming that device coverage. Linux x64 and ARM64 use the same Portal/PipeWire/GStreamer capture path. Package startup and headless native regressions do not establish physical screen/audio capture or a working hardware H.264 encoder on an ARM64 desktop. Verify those capabilities on the target device before claiming device coverage.

Remaining Device And Network Acceptance

The following are broader coverage and endurance tasks, not automatically new implementation mechanisms:

  • heterogeneous public-network P2P and multi-hop Browser/Native/SFU-fed relays;
  • Native IPv6 direct connections across separate networks with usable IPv6; local dual-stack checks establish socket and candidate behavior only;
  • Host/Viewer TUN/VPN combinations, migration and all-UDP-blocked bounded failure;
  • two-room public SFU load, real-game audio/video synchronization and sustained packet loss/recovery;
  • weaker Hosts at 720p30, 1080p30 and 1080p60, CPU/GPU contention, thermals, long-running resources and the 20-Viewer bound; and
  • physical mobile autoplay, background/lock, page reclamation, rotation, Wi-Fi/cellular migration and relay survival.

A short 20-Viewer topology run from an earlier revision proves only its tested invariants; it is not current-contract endurance or a public-network quality guarantee. A direct postflight with both endpoints on one machine proves public signaling and local media, not restricted-NAT traversal.

macOS/Linux physical capture/audio/recovery remains explicitly deferred by the owner. Linux producer compilation and older Mac SDK/package evidence do not prove the current Windows multi-output adaptation contract on those platforms.

Adaptation Boundaries

The encoder-pool research retains both successful and unsuccessful observations:

  • A prolonged shaped-network run recovered original output about 1.5 seconds after release and stayed near 30 fps; an earlier twelve-second observation missed recovery. The cause of that difference is not established.
  • H264's stock QP adaptation can take tens of seconds to restore full size.
  • Extreme single-core VP8 overload produced multi-second encode gaps that reset the stock CPU detector's samples. That result does not establish normal-device or Browser parity and does not authorize custom CPU thresholds.
  • Equal effective demands can share; incompatible demands may need more encoders. Extra fallback outputs, buffers and recovery keyframes have real costs.
  • The 360-to-187 encode-call result compares a bounded prototype with independent encoders. It is not an old-versus-new Native product CPU benchmark.

The earlier borrowed-child Browser experiment failed independent quality and accounting. The independent producer in ADR-0014 now has bounded H264/VP8 direct/relay, weak-path, lifecycle and A/V evidence on the acceptance candidate; its research owns results and limits. The owner authorized its release on 2026-09-09. Browser relay shares local outputs among its direct children; it still re-encodes received media. Native/SFU healthy forwarding remains encoded.

Interpretation

Configuration/unit/loopback checks prove their named invariants. Physical results belong to the tested revision, device and workload. Missing counters remain unknown. A new diagnostic collector must be checked in a real exported report, including retention and failed-collector information; logging a method call alone does not establish useful evidence. Browser/OS suspension remains a physical limit rather than a keepalive guarantee.