Merge accepted main delivery and documentation while retaining the current Rust reconstruction for replaced 2.x modules. Keep Android APK-only packaging and its current runtime identity. Reconcile the received Windows input diagnostics in the existing work ledger.
Domestic downloads and the project mirror now use AtomGit at TNTcraftHIM/Piik. The publisher uploads the original GitHub CI artifacts, verifies anonymous downloads against their SHA-256 digests, and promotes the complete release to latest.
The website offers direct Android APK downloads and updates its desktop architecture links, project link and current documentation. The AtomGit workflow replaces the Gitee publisher. Published App and Server versions remain v2.5.2; their built-in update-source changes are prepared separately on the maintenance and 3.0 branches.
Validation:
- Mirrored and anonymously verified all 10 original v2.5.2 assets (330,802,847 bytes), including the APK.
- Full frontend check and website build passed; publisher failure, resume and credential-redaction checks passed.
- Actual release plan reports publish:false, including the retired workflow deletion and mobile documentation changes.
- Reviewed the bilingual download UI and verified the six App download targets and architecture switches.
Windows capture-device errors could end an otherwise recoverable share, and reused Browser frames could arrive with the wrong orientation on receivers without the same orientation extension. Recover through the existing capture generation, start new encoded generations with an independent frame, and normalize orientation before shared encoding.
The maintenance scope also keeps compact headers aligned, cycles local rotation through four directions, accepts late coordinated UDP replies, requests Browser own-audio exclusion, and improves capture/input diagnostics. It preserves the published 2.x protocol and storage contracts.
Validation: 106 test files / 1878 tests, TypeScript, production Web/website builds, Windows Go core tests/vet and supported cross-builds passed. Candidate CI passed all 3 Server and 6 App targets, including native macOS builds, plus vulnerability and race checks. Controlled WGC/Pion recovery, retained-clock/first-frame checks, Browser orientation/SFU playback and responsive-header checks passed. The downloaded candidate set passed the existing publication dry-run: all 9 targets and 10 distribution packages share v2.5.2 and source 916baefa05, with matching checksums.
Original-device investigations remain open, including #502 and the reported low source frame rate. This PR does not claim those reports are resolved.
## 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.2 improves sharing recovery, picture orientation and mobile controls. It keeps the existing 2.x compatibility baseline.
- Improve Windows sharing recovery after graphics-device errors, and resume new encoder generations with a decodable picture.
- Preserve rotated and mirrored pictures when Browser encoding is shared across receivers, including SFU routes.
- Rotate the local picture in 90° steps; keep mobile header controls aligned and its connection indicator visible.
- Improve P2P establishment when coordinated UDP replies arrive late.
- Ask compatible browsers to exclude Piik's own playback from screen audio, and improve native capture and remote-input diagnostics.
Update the App and self-hosted site together to receive all fixes, then refresh open pages. Browser settings and existing room data are retained.
### 中文
Piik v2.5.2 改善分享恢复、画面方向与手机操作,沿用现有 2.x 兼容基线。
- 改善 Windows 图形设备异常后的分享恢复,新编码器接替时从可正常解码的画面开始。
- 修正浏览器共享编码时旋转或镜像画面的方向,覆盖 SFU 等接收线路。
- 本机画面每次旋转 90°;手机顶部工具栏保持对齐,连接状态清晰可见。
- 改善协同打洞时 UDP 回复较晚到达的 P2P 建连。
- 向支持的浏览器请求排除 Piik 页面自身播放的声音,并完善原生采集与远控输入的诊断信息。
请一起更新 App 与自部署站点,以获得全部修复,随后刷新已打开的页面。浏览器设置与已有房间数据保留。
## 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.
Keep MediaProjection consent and playback audio on the page-owned capture lease. Reuse native frame admission, encoding outputs, cancellation and room routes; normalize normal pre-frame cancellation without platform-specific UI rules.
Reuse the desktop input executor with typed EIS devices, cancellable Portal requests, and one source/media clock. Pending consent never blocks App operations or revives revoked control. Verify real GNOME selection, keyboard/mouse delivery, cancellation, and cleanup. Track the upstream Mutter unstarted-session cleanup defect separately.
Keep Portal source ownership, source time, independent hardware encodings and system sound behind the shared Native producer. Gate capture dependencies so Server forwarding stays independent of desktop media libraries.
Use one Native Source for local capture and relay outputs. Bind physical capture lifetime to the selecting page while App room hosting continues. Reuse the source picker and ordinary Browser subscriptions.
Validated hardware capture, relay handoff and cleanup with the locally prepared RTC DTLS-role repair. Upstream submission and the dependency update remain held for separate approval.
Pin the submitted RTC extmap and H264 fixes in Native and Server. Preserve source clocks, codec bindings and independent output feedback while accepting equivalent H264 profiles.
Add a separate Windows GPU capture and hardware encoder owner. Validate real capture output and retained-peer forwarding, plus the existing Native and App browser acceptance paths.
Connect the shared room core and per-room SQLite to an admitted native participant with real base DataChannels. Keep media writers independent of control turns and retain source clocks only for active incoming demand.
Resume unfinished SDP exchanges without rebuilding healthy pairs, fence late answers, and project only current track bindings. Validate native/browser voice, dropped signaling, negotiated Opus payload types, capture replacement, scoped persistence and restart.
Load the Rust room owner in WASM, commit policy and history in IndexedDB, and fence competing pages with the existing binding identity. Connect availability and capabilities to the shared UI, align the frontend wire contract, and exercise real owner recovery and cross-room media.