## Problem and outcome Stale ICE and transport callbacks, interrupted media ownership, and optional encoder capabilities could break otherwise recoverable sharing sessions. This maintenance phase corrects those owners across Web, Native and embedded SFU, improves current-state diagnostics, and finishes the affected UI and documentation animation paths. Android, QR invitations and App/Server headline presentation stay on their feature branch. This PR contains the accepted maintenance scope only. ## Release notes **Play together. Your turn!** Approved friends can play together with shared keyboard and mouse controls or optional gamepads. **远程同乐,轮到你啦!** 获准的朋友可以共用键鼠,或使用可选手柄,一起玩本地多人游戏。 ### English This maintenance update improves connection recovery, capture compatibility and troubleshooting for existing Piik rooms. - Keep ICE candidates and gathering completion tied to their current connection. Preserve Viewer route preferences through reconnection and retry newly available Peer opportunities after SFU fallback. - Correct picture and voice ownership during restart, source replacement and connection retirement. Report failed picture dependencies while keeping room voice available. - Separate capture and forwarding statistics and isolate pooled sender attachment failures. - Improve Windows H.264 compatibility with optional encoder properties, retain safe capture failure codes, and keep shared sound volume usable without microphone support. - Improve remote input continuity and mouse responsiveness after idle. - Fix fullscreen handling in some mobile browsers, source-picker refresh, delayed chat confirmations, starred-site startup and local App requests. Refine control motion and reduced-motion behavior. - Restore the mascot's face and shared animation lifecycle in the documentation header. - Include current connection and playback state in diagnostic exports, update Zod to 4.6.6 and simplify shared lifecycle code. Existing 2.x protocols, configuration and default quality settings are preserved. ### 中文 本次维护更新改善现有房间的连接恢复、采集兼容性和故障诊断。 - ICE 候选和收集结束事件跟随当前连接;重连保留观众线路偏好,SFU 兜底后出现新的可用 P2P 机会仍可尝试。 - 修正重启、换源和连接结束时的画面与语音生命周期;语音继续时,画面失败会明确反馈。 - 区分采集与转发统计,隔离编码池中单个输出连接的失败。 - 改善 Windows H.264 可选属性兼容性,保留有效的采集失败原因;没有麦克风能力时也能调整共享声音音量。 - 修复部分移动浏览器全屏、选源刷新、迟到聊天确认、收藏站点启动和本机 App 请求问题,打磨控件动效及减少动态效果行为。 - 修复文档导航 mascot 面部一直隐藏的问题,接回共用动画生命周期。 - 诊断导出补取当前连接与播放状态,升级 Zod 至 4.6.6,精简共用生命周期代码。 沿用现有 2.x 协议、配置和画质默认值。Android、二维码邀请及 App/Server 新增的 HEADLINE 展示留待后续版本。 ## Verification - `npm run check`: type-check, 98 test files / 1,765 tests, production Web build passed. - `npm run check:go-core`: Go formatting, tests, vet, Windows/Linux builds passed; Darwin builds require the native CI runners. - `npm run check:native`: current Windows capture compilation, fixtures and capability probe passed. - `npm run build:website`, TypeScript and repository hygiene checks passed after the documentation-brand fix. - Existing controlled media lifecycle and P2P/SFU voice acceptance covered the retained route/transport changes. Final local browser acceptance covered actual sharing and pause/resume, fullscreen, source refresh, voice/keyboard/settings, 320px to desktop layouts, both themes and all presentation modes. Documentation brand was reproduced broken, then verified on load, replay and reduced motion. - Independent scoped reviews found no integration blocker. ## Impact Patch release v2.4.1. Existing 2.x wire, configuration, authority, capacity and default quality contracts remain intact; no data migration. Source volume no longer depends on microphone availability. Zod 4.6.6 fixes GHSA-mrhx-c7xc-m3w5. The device-specific Windows reports #495 and #452 remain under investigation; this PR improves compatibility and diagnostics without claiming those reports fully resolved. Physical macOS acceptance remains with its native runner/device checks.
5.2 KiB
Current Status
Last updated: 2026-10-24
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 line preserves published protocols, compatibility and route ownership. TODO is the only unfinished-work ledger; Git and PRs own completed fixes. Verification status owns material acceptance and platform boundaries.
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.