Files
piik/docs/status.md
T
AAA 815f1a07c4 fix(media): stabilize sharing recovery and remote input (#513)
## Problem and outcome

Connection recovery and packet repair could leave stale pictures, missing sound or unreliable remote input. This maintenance release repairs media/route ownership, H.264 negotiation, voice forwarding and Windows input recovery, and makes shared mobile controls and popovers easier to use.

## Release notes
**Piik, now in your pocket.**

Piik App supports Android screen sharing, with touch controls for a friend's computer.

**手机,也能开播。**

Piik App 支持 Android 屏幕分享,也能用手机控制朋友的电脑。

### English

Piik v2.5.1 improves sharing recovery, voice playback and remote control, with clearer mobile controls. It keeps the existing 2.x compatibility baseline.

- Improve H.264 selection and picture recovery after reconnecting, changing sources or recovering lost packets; keep a working share when a replacement source fails.
- Keep audio and room voice continuous, and prevent duplicate sound when switching playback windows.
- Improve Windows input recovery and release remote-control permissions when their connection ends.
- Keep mobile controls together and popovers usable after layout changes or in short viewports.
- Open the appropriate Android update download, including the Gitee ZIP containing the APK. Self-hosted SFU servers refresh public addresses for new connections without a restart.
- Add macOS source-thumbnail support.

Update the App and self-hosted site together to receive all fixes. Browser settings and existing room data are retained.

### 中文

Piik v2.5.1 改善分享恢复、语音播放与远程控制的稳定性,让手机操作更顺手,沿用现有 2.x 兼容基线。

- 改善 H.264 编码选择,以及重连、切换分享源和丢包后的画面恢复;新分享源切换失败时保留正常分享。
- 保持声音与房间语音连续,避免切换播放窗口时出现双重声音。
- 改善 Windows 输入恢复,并在连接结束时释放远程控制授权。
- 手机控件保持成组,浮层在布局变化或可见高度较小时仍可操作。
- Android 更新打开对应下载入口,Gitee 提供内含 APK 的 ZIP;自部署 SFU 为新连接刷新公网地址,无需重启服务。
- 补齐 macOS 选源缩略图支持。

请一起更新 App 与自部署站点,以获得全部修复。浏览器设置与已有房间数据保留。
## Validation

- Full frontend typecheck, test and production-build acceptance; current Windows App/Server packaging, extracted-file checks and exact served JavaScript verified locally.
- Existing Go, vulnerability, native media and controlled-network results retained at their tested revisions. The final production delta from the fully checked candidate is the shared short-viewport popover correction.
- The diagnostic report supplied for #502 informed the Windows input fixes. #500 sharing is confirmed working; its missing source previews are implemented. Original-device follow-up remains separate from this release's verified local fixes.

## Compatibility and scope

Preserves the published 2.x Browser/server, Native control, capture and SQLite contracts. No 3.0 or iOS implementation or external contributor patch is included. Related: #500, #502, #510, #512.
2026-10-31 16:34:12 -04:00

5.9 KiB

Current Status

Last updated: 2026-10-27

This is the compact execution/deployment index. Product modules own behavior, verification status summarizes material evidence limits, and Git/PRs own completed history.

Accepted Release Contract

  • The 2.0 release boundary uses Browser/server v24, Native control v10 and capture v7. App and Site must upgrade together; 1.x cannot participate in a 2.0 session. SQLite schema 2 is unchanged. Versioning owns compatibility between published Web/App/Server versions.
  • Hosted Server defaults to SQLite schema 2. Room authority has no inactivity expiry by default; replacement/deletion or grant rotation/revocation ends the corresponding authority. Explicit memory mode and App Local end rooms at process exit. Site access retains its separate 24-hour idle lifetime within one service run; service restart requires site-password entry again.
  • Camera sharing and room voice are accepted product features. Source audio follows the picture; room voice owns conversation microphones under the same route controller. Optional Host commentary belongs to the share's audio and has separate activation. Device selection and sharing settings keep their owners. The capture assessment owns platform behavior and platform limits.

Accepted Interaction Phase

Text chat, reactions, room voice and attended remote control are accepted product features. They use existing room authority and the shared route controller; picture, voice and input grants retain their separate lifetimes. The room-interaction design records the design; product standards own current behavior. Release artifacts and operator records own delivery completion.

Current Work

The maintenance candidate preserves published protocols, compatibility and route ownership. Its routing, media recovery and input-lifecycle audit is complete; confirmed defects are repaired and cross-reviewed. Publication awaits the owner's instruction. Isolated 3.0 work proceeds from the accepted semantic model rather than a mechanical translation of the current implementation. TODO is the only unfinished-work ledger; Git and PRs own completed fixes. Verification status owns material acceptance and platform boundaries.

The Android system-browser App shares the desktop Web UI and Go core, including Local/public-link rooms, Site approval, native screen capture and room voice. Its universal APK covers ARM64 and x64 through the shared release pipeline; device evidence and remaining work retain their existing owners. iOS remains separate.

Room voice, shared keyboard/mouse and optional Windows virtual gamepads use the normal App/Web interfaces. App packages contain no optional input SDK or driver. Linux uinput has an isolated kernel check; desktop permission and game-recognition coverage is pending. macOS virtual HID needs an Apple entitlement and physical build/runtime checks. The input assessment owns platform details.

App Local invitations use HTTPS on the selected LAN address, with a loopback entry for the Host. Hosted Server supports direct HTTPS with temporary or operator-supplied certificates. The HTTPS runbook owns setup. Virtual LANs and frp use the existing room and UDP media paths. The website uses the selected bilingual film A, loaded on demand with shared product playback controls and a persistent final card.

Optional coordinated Native UDP preparation augments the existing retry owner. The network laboratory covers all Browser/App pairings, recovery, SFU policies and successful two-App preparation through sequential kernel NAT. These results do not establish a public success rate. Magicsock integration is not planned; its controlled comparison records the technical basis.

The media assessment owns bounded output and live-control evidence. Additional codecs, surround delivery and end-to-end HDR remain outside the published phase.

Deployment

The immutable release descriptor, runtime REVISION and operator deployment record own exact identity and postflight results.

The private deployment uses one Go process for Web, room authority/signaling, STUN and optional SFU, with nginx for HTTPS. The self-hosting runbook owns listeners and network configuration.

The separate US public demo is deployed with open site entry, persistent room authority and P2P-only media. Cloudflare fronts HTTP/WSS and caches static bundles; STUN uses a separate DNS-only hostname. Caddy owns origin HTTPS, and the standard systemd service runs the published Server package. Demo expires rooms after one hour without authenticated participants; the private deployment retains the default of no expiry. The operator record owns exact identity and postflight evidence. piik.tv runs on GitHub Pages behind Cloudflare; website delivery includes a bilingual documentation center built from repository guides.

GitHub owns original Server and App packages; Gitee mirrors them without rebuilding and verifies anonymous downloads against their checksums. Server packages cover Linux x64/ARM64 and Windows x64; Docker images are Linux-only. App packages cover Windows x64 and macOS/Linux x64/ARM64. Accepted product changes publish through the release workflow; standalone website/documentation changes deploy the site without creating App/Server versions. Versioning owns release identity, notes, compatibility and mirror publication.