## Problem and outcome / 问题与结果 Planned release: **v2.3.0**, preserving the published 2.x sharing contracts. Friends can now talk in a Piik room before, during or after screen sharing. Room voice, media forwarding and the picture retain separate lifetimes under the existing room authority and route controller. This phase also improves direct LAN entry, native capture startup, interaction controls and first-use documentation. Related: #484, #437, #486, #488, #485 and #489. These references do not declare all reported hardware or distribution problems fixed. ## Release notes **Less typing. More talking.** Piik now supports room voice, with or without screen sharing. **聊不够?开麦吧!** Piik 现已支持房间语音,不开播也能聊。 ### English This update adds room voice alongside sharing, chat and reactions, with clearer controls and direct HTTPS invitations for local and virtual networks. #### Highlights - Create a room before sharing. The Host opens or closes room voice; friends can join, control their own microphone and listening, or mute someone locally. Joining voice keeps the microphone off until you enable it. - Choose your microphone, adjust microphone, master and individual listening volumes from 0% to 200%, and enable voice processing in the interaction window. Audio icons offer quick volume sliders. The microphone icon shows live input level. Voice continues when the picture stops. - Use a local HTTPS invitation for microphone and remote-control features on a LAN or virtual LAN. A temporary local certificate requires a browser warning confirmation; a self-hosted Server can also use supplied certificate files. - Rotate your local picture, optionally volunteer more relay capacity, and download a native Windows x64 Server package. #### Fixes and polish - Align Windows automatic encoder probes with the surfaces used during actual capture; keep video capture progressing while optional source audio starts. - Correct Linux desktop pixel-aspect negotiation and accept fitted native source dimensions without forcing a different aspect ratio. - Avoid retaining false media queue congestion when producer and consumer clocks disagree. - Distinguish chat authors with identical names, clarify remote permissions, and keep floating tools, contextual hints and microphone indicators aligned. - Separate first-use guides, room tools and troubleshooting so help is easier to find. Use updated Server/Web pages for room voice and update the App for the native capture and local HTTPS improvements. Established 2.x sharing remains supported. macOS builds do not yet carry Developer ID signing or Apple notarization; see the first-launch instructions. The macOS audio-startup changes still need confirmation on an affected Mac. ### 中文 本次更新为分享、聊天和表情互动加入房间语音,同时打磨操作控件,并为局域网和虚拟局域网提供直接 HTTPS 邀请。 #### 主要变化 - 不开播也能创建房间。房主开启或关闭房间语音;朋友可以加入、自行开关麦克风和收听,或仅在自己这边静音某人。加入语音时默认不开麦。 - 在互动窗口选择麦克风、分别调整 0%–200% 的麦克风、总收听与个人音量,并设置语音处理。音频图标可展开快捷音量条,麦克风图标显示实时输入音量。停止画面分享后,语音仍可继续。 - 局域网和虚拟局域网可使用本地 HTTPS 邀请,启用麦克风和远程控制;临时本地证书需要在浏览器确认警告。自部署服务端也可使用自行提供的证书文件。 - 可旋转本地观看画面、自愿增加转发容量,并提供 Windows x64 服务端下载包。 #### 修复与打磨 - Windows 自动编码探测使用与实际采集一致的输入;可选来源音频启动期间,画面采集继续运行。 - 修正 Linux 桌面采集的像素比例协商;原生来源保留实际画幅,不再要求固定比例的尺寸。 - 避免生产者和消费者时钟不一致时,错误保留媒体队列拥塞状态。 - 区分同名聊天作者,明确远控授权,并统一浮窗、上下文提示与麦克风指示器的细节。 - 分开首次使用、房间工具和故障排查文档,让帮助更容易查找。 房间语音需使用更新后的服务端和网页;原生采集与本地 HTTPS 改进需更新 App。既有 2.x 分享仍保持兼容。 macOS 构建仍未正式签名和公证,首次启动请参照文档;音频启动调整仍需在受影响的 Mac 上确认。 ## Verification / 验证 Full Web checks, Go tests/vet/build/native probes, reachable vulnerability checks, normal-page P2P/SFU voice and compatible sharing, LAN HTTPS, detached interaction tools, responsive controls and tooltip/pure-visual checks provide acceptance evidence. Physical macOS/Linux capture and acoustic behavior on arbitrary devices are not established by these controls. Scoped contributions from #488 (Linux pixel aspect) and #485 (Windows Server packaging) are retained as their original authors' patch commits in this PR. The remaining implementation and integration belong to the maintainer. ## Impact / 影响 Preserve the published 2.x sharing contract. New room-voice behavior is opt-in; Host voice activation, capture and picture lifetimes remain distinct. Local certificate material remains in memory; no system trust installation is performed.
11 KiB
Current Status
Last updated: 2026-10-21
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.
- Browser/App entry lifecycle and current-edge reconnect ownership repairs are implemented. Browser node-local pooling and detailed local Debug export remain part of the accepted media surface. Product modules own their behavior; configuration owns Debug activation, report contents and disclosure.
- Shared feedback composition is implemented: generic loading uses the wink mascot, concrete media waits use their owning comic, and waiting captions are secondary to literal status. Website reduced-motion preference and player tooltip placement follow the same presentation owners.
- Camera sharing and room voice are accepted product features. Source audio follows the picture; room voice owns Host and Viewer microphones under the same route controller. Device selection and sharing settings keep their owners. The capture assessment owns platform behavior and platform limits.
Website delivery includes a bilingual reader documentation center generated from the repository's guides alongside the homepage, with search and detailed troubleshooting separate from the homepage FAQ.
Accepted Interaction Phase
The accepted room-interaction design includes the verified media repairs. It adds authenticated text and reactions over existing signaling, with optional local chat overlay and a shared floating panel. Its opted-in room session can outlive a publication; capture, quality and route owners remain unchanged. Optional Windows screen-audio exclusion uses the existing source/mixer boundary. Hosted Server also accepts an optional SFU-only policy through the same route controller. Windows native capture and thumbnails share automatic HDR-to-SDR conversion. The fidelity assessment owns its evidence and the distinction from Browser capture and end-to-end HDR. Room voice supplies Host and Viewer speech separately from source audio. Release artifacts and operator deployment records own delivery completion; TODO owns remaining work.
Current Work
The current 2.x release line retains attended keyboard/mouse control, Viewer playback settings and the interaction window, with the maintenance media and lifecycle repairs. The accepted maintenance phase preserves the published protocols and route owners; release artifacts and operator records establish publication and postflight completion. Room voice integrates normal App/Server/Web, with the same room graph and serial route operation, separate picture and voice lifetimes, explicit pre-share room creation and Host-owned room voice activation. Normal Browser checks cover a three-participant Peer relay and embedded SFU, duplex audio, local-mute isolation, picture replacement, detached UI and capture retirement. Optional voluntary Peer fanout and local picture rotation are included; frp uses the documented existing UDP configuration. Windows x64 Server packaging uses the existing release inventory; Docker images remain Linux-only. App Local invitations now use HTTPS on the selected LAN address; the Host keeps its loopback entry. Hosted Server also supports optional direct HTTPS with a temporary local certificate or supplied certificate files. Both use the same room authority and require the browser to accept the certificate. Channel availability derives from Host membership and uses one room microphone for Host and Viewers. Local normal-page acceptance covers both P2P and SFU, independent listening, picture continuity and voice-facet recovery. Controlled-network voice cases and platform package checks have passed; the release artifacts and operator records establish publication and deployment. Separate shared-keyboard/virtual-gamepad experiments remain prototypes. The promotional film stays an online-review draft; export follows owner acceptance. TODO owns unfinished work and explicit deferrals; release artifacts and operator records own exact delivery results.
2.0 separates numeric media requests from presets and bounded runtime admission, retains successfully applied quality settings, and lets App serve an approved Site independently of Local/public room startup. It also adds detached chat on supporting desktop Browsers. Media, room authority and P2P-first routing keep their existing owners; product standards define the accepted behavior.
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 remains excluded: its controlled comparison established no additional reachability worth its integration costs.
The media assessment owns bounded output and live-control evidence. Additional codecs, surround delivery and end-to-end HDR remain outside the published phase.
2.0 was published after final acceptance without a separate field beta. Immutable release artifacts and operator records own exact delivery and postflight; TODO owns remaining product work. Hosted room retention stays indefinite by default. Demo uses one hour without authenticated participants; the private deployment keeps the default.
Deployment
Source, package identity, GitHub repository and local worktree paths use Piik.
Runtime code keeps only the Piik wire labels and stored keys.
The immutable release descriptor, runtime REVISION and operator deployment
record own exact identity and postflight results.
The existing deployment uses one Go process for Web, room authority/signaling, Binding-only STUN on UDP 3478/3479/3480 and optional SFU on UDP 7882. nginx owns HTTPS. Participants, routes and media remain process-only. This private service is not a public demonstration.
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. Public DNS, HTTPS, runtime assets, all three STUN listeners and a bounded browser P2P sharing/stop check passed; the browser check used synthetic video on one network. The operator record owns exact identity and postflight evidence.
TODO owns unfinished work. The owner declared the first
public release on 2026-09-12. Source is public, main protection is active, and
piik.tv runs on GitHub Pages behind Cloudflare with HTTPS. The private service
remains a separate deployment. Release descriptors and GitHub deployment records
identify published artifacts and website revisions.
GitHub owns the original Server and registered App packages. Gitee copies them without rebuilding; mirror completion requires anonymous checksum verification. Mirror reads retry complete transfers; ambiguous uploads are reconciled by inventory before another attempt. Public-repository CI and native packaging passed. App entry, update links and bounded two-build interoperability have acceptance evidence. Accepted product changes publish automatically; standalone website and documentation changes validate and deploy the website without creating App/Server versions. GitHub/Gitee release comparison, mirror publishing and PR-sourced notes follow versioning. Verification status summarizes material evidence limits; shared lessons live in engineering.
Media Evidence And Limits
- Compatible Native consumers share one complete stock WebRTC encoding and adaptation pipeline per local output. Different weak demands stay independent; suitable received media can be forwarded without decoding/re-encoding. Pion/LiveKit retain transport, estimation, pacing and forwarding ownership.
- Windows H264/VP8 have bounded encoding/adaptation evidence. Actual Native relay checks cover compatible sharing, weak-budget separation and rejoining, source retirement and large encoded-frame delivery. These results do not establish a universal encoder count, CPU saving or Browser-equivalent quality.
- Windows Host acceptance covers live and paused settings, quiet-source preparation/restore, source changes and subsequent sharing. The owner confirmed Windows 10 whole-display capture resolved. Specific new game/device failures should be reopened from new evidence.
- Native Host publication through embedded SFU retains video/audio; Browser to App fanout and App-exit fallback have bounded physical checks. Two independent Native sessions have simultaneous media/retirement evidence.
- The Linux runtime container has non-root/read-only, memory/SQLite, diagnostic export, STUN and listener-lifecycle evidence. This does not establish every operator's proxy/firewall or public-media configuration.
- The independent Browser producer in ADR-0014 is integrated. Bounded H264/VP8 checks cover direct and received-track sharing, weak-child isolation/recovery, live/quiet settings, pause, source change and ordinary fallback. Its native allocation and complete-frame output replace the earlier payload-only Worker path. Fewer full encodes are established; total CPU gains depend on codec/hardware. Browser research owns these measurements and failed controls. The owner accepted this scoped Browser composition for release; actual deployment identity stays in the runtime descriptor.
- Browser-controlled recovery and extreme CPU-overload limits remain in encoder research. Windows App and Browser are this phase's primary targets; macOS/Linux physical capture remains deferred.