Files
piik/docs/todo.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

7.2 KiB

Current TODO Ledger

Last reviewed: 2026-10-29

This ledger contains unfinished work and explicit owner holds. Product modules own behavior; research and Git/PRs own evidence and completed history.

Now

  • Virtual-LAN page loading. Investigate the UU report where only the tab title appears and the page never loads. Static compression reduces transfer size; capture the stalled document/script response to locate this failure.
  • Remote-control end-to-end latency. Measure input-to-visible-response on an attended target, covering OS execution, Native capture/encoding, remote transport and display in the same trial. The input assessment owns completed local component measurements.
  • Linux capture ends after selection (#499). Follow #499 on niri/Wayland with GStreamer NVENC. The Browser report records capture ending before connection cleanup; obtain the native capture failure to distinguish the encoder and Portal.
  • macOS source-picker thumbnails (#500). The reporter confirmed normal sharing on 2026-10-28; the remaining #500 report concerns missing screen thumbnails in the source picker. The macOS helper now implements the existing preview command; verify its build and display/window thumbnails on a physical Mac before closing the issue.
  • Control loss when the Host browser is minimized (#502). Follow #502 on the original Windows host with the Windows input-recovery candidate. The v2.5.0 report shows rejected input followed by failed release cleanup. The candidate repairs a reproduced thread-desktop mismatch and records the native rejection context; confirm the original host's trigger before closing the issue.
  • Return LiveKit to an upstream pin. Follow upstream #5016. Once upstream supplies the allocator input Piik needs, verify recovery and remove the temporary replacement. Dependency provenance owns the patch and removal boundary.
  • Return Pion to an upstream pin. Follow upstream #3668. Once upstream includes equivalent H.264 profile matching, verify the receiver and forwarding controls and remove the temporary replacement. Dependency provenance owns the patch and removal boundary.

Next

  • 3.0 semantic reconstruction. Continue the isolated feat/channel-prototype from the accepted domain/room/participant model. Map existing behavior and ownership, remove accidental constraints, then implement cohesive Rust runtimes with mature components. Preserve the reviewed recovery semantics, not Go function or module parity. The prototype's design owners and ledger govern its implementation; keep it outside the maintenance candidate.
  • Release headlines in App and Server update checks. Keep the prepared implementation on archive/deferred-prototypes for a later feature release. It consumes the existing headline contract.

Held By Owner

  • iOS App publication. Held on 2026-10-25. Keep the system-browser implementation on feat/ios-client, outside the Android release candidate. Apple SDK builds pass; signed-device acceptance still needs continued-session admission/expiry, recording consent, background capture and hosted-site linkage.
  • QR invitations. Deferred from the maintenance release on 2026-10-24. Keep the local QR implementation on archive/deferred-prototypes for later acceptance.
  • Additional collaboration cursors. Deferred by the owner. Keep the shared system mouse; do not add multi-cursor or pointer-ownership visualization.
  • Persistent-loss estimator replacement. Deferred on 2026-10-18. Keep mature congestion control and accept quality reduction under sustained high loss; concrete accounting/recovery defects remain ordinary bug fixes. Evidence.
  • Multiple remote-control screens. Deferred on 2026-10-17. Keep one shared source; Viewer screen switching and simultaneous screens are later work.
  • 32-bit Windows/Linux Apps. Deferred on 2026-10-02. No package or website option is planned.
  • Windows ARM64 App. Deferred on 2026-10-03. Keep Windows downloads x64-only.
  • Alternative public-invitation providers. Deferred on 2026-10-16. Keep Cloudflare Quick Tunnel. The provider assessment owns alternatives and tradeoffs.

Parked Product Work

  • Virtual gamepads beyond Windows. Linux uinput passed its isolated kernel gate; desktop permissions and game recognition need physical checks. macOS virtual HID needs an entitled App and macOS SDK/runtime checks. The co-play assessment owns platform evidence; Piik does not bundle or install optional input drivers.
  • Platform output. A registered receiver may act as an ordinary Viewer after the platform-output gate passes.
  • Additional languages. Review community catalogs and rendered UI through the translation guide.
  • Windows code signing. Revisit when a trusted signing service is available; sign executables before archive checksums. Signing does not guarantee the end of antivirus cloud scanning.
  • macOS distribution signing. Developer ID signing and Apple notarization need an Apple Developer identity. #489 reports first-launch blocking; the troubleshooting guide provides a scoped opening procedure, not a signing fix. Verify downloaded bundles on a Mac when signing becomes available.
  • Gitee download-source warning. Paused by the owner. Keep GitHub primary and retain Gitee; do not add a self-hosted mirror. Reopen for new provider evidence.
  • Automatic local chat history. Manual TXT export already exists. Automatic storage needs a stable room-incarnation identity, bounded retention and deletion; reusable room codes must not combine conversations.
  • Managed Demo hosting. The provider assessment establishes no cost saving; keep the existing P2P-only Demo pending a concrete option.
  • Phone as a Host microphone. Revisit only for a concrete use case that justifies the pairing and input boundary.
  • Mobile controlled endpoints. Separate scope from desktop keyboard/mouse control and desktop co-play.
  • Multiple simultaneous sharers. Define publication/subscription ownership before prototyping. The party-mode assessment owns the proposal; the current one-Host contract remains.