Commit Graph
489 Commits
  • feat(maintenance): improve invitations and playback controls
    ## Problem and outcome / 问题与结果
    
    Inviting another device, changing sources and adjusting playback should preserve the selected access and accepted settings. This update adds local QR invitations, optional translations and a video buffer setting, and repairs App discovery, source retirement, shared controls, remote-input geometry and audio reporting within the existing 2.x contracts.
    
    ## Release notes
    
    ### English
    
    This update makes invitations easier to share and playback easier to adjust, while improving App connection, source switching and everyday controls. It also adds optional interface translations and more useful audio diagnostics.
    
    - Show the current invitation as a locally generated QR code for another device to scan, preserving the selected access information.
    - Add optional Traditional Chinese, Japanese and Korean translations. Chinese and English remain direct choices; the third menu includes extra languages and visual mode. Missing translations use English.
    - Add an **Increase playback buffering** switch with an adjustable target. More buffering may reduce stalls from uneven packet arrival, at the cost of added viewing delay. Automatic remains the default.
    - Ignore remote-control clicks on blank space outside a zoomed or rotated video.
    - Check for a local Piik App once when a site opens. Automatic discovery respects local-network permission; explicit connection keeps approval under your control, and passive failures stay quiet.
    - Keep a pending Browser screen or camera selection when the previous Native source ends or the App disconnects. Release the old source while allowing the new selection to finish; cancellation and Stop still end the operation correctly.
    - Improve App-to-App connections when port mappings shift during setup.
    - Keep playback hints clear of sharing controls, selection indicators inside their tracks, disabled action icons visible, and numeric settings aligned with accepted values.
    - Use receiver audio reports for outgoing shared-sound loss statistics, and add opt-in Windows capture-progress diagnostics to help locate missing audio.
    
    Existing 2.x App/site compatibility, saved room data and invitation privacy are preserved. Update the App for Native changes. After updating a hosted Server, refresh open site pages; App-local pages use the Web UI included in the updated App package.
    
    ### 中文
    
    本次更新让邀请分享和播放调整更方便,并改善 App 连接、切换来源及日常控件。同时增加可选界面译文和更有帮助的音频诊断。
    
    - 将当前邀请在本地生成二维码,保留所选访问凭证,方便另一台设备扫码加入。
    - 增加繁体中文、日语和韩语可选译文。中英文保留快捷入口,第三个菜单提供附加语言与纯视觉模式;缺少的译文回退英文。
    - 增加 **增加播放缓冲** 开关,并可调整目标值。更多缓冲可减少数据到达不均造成的停顿,但会增加观看延迟;默认仍由系统自动决定。
    - 缩放或旋转画面后,不再把画面外空白区域的点击误传给远端。
    - 打开站点时检查一次本地 Piik App。自动发现遵循本地网络权限,主动连接时才由你批准访问;被动发现失败保持安静。
    - 旧 Native 来源结束或 App 断开时,保留正在进行的浏览器屏幕或摄像头选择。释放旧来源后仍可完成新选择;取消或主动停止时正确收尾。
    - 改善建立连接时端口映射变化情况下的 App 间连接。
    - 避免播放提示遮挡分享控件,让选中指示保持在轨道内,保留禁用按钮图标,并让数值设置显示实际接受的值。
    - 共享声音的发送端丢包统计改用接收方音频报告,并增加可选的 Windows 采集进度诊断,帮助定位无声发生在哪一段。
    
    保留现有 2.x App/站点兼容性、已保存的房间数据和邀请隐私。Native 改动需要更新 App。托管 Server 更新后请刷新已打开的页面;App 本地页面使用新版 App 包内的网页。
    
    ## Verification / 验证
    
    - Complete frontend check: TypeScript, 110 test files / 2001 tests, Web build. Go core check: format, tests, vet and supported cross-target builds; macOS App builds require their native SDK.
    - QR invitations passed independent local decoding, credential/rotation checks and short-window layout. Language/visual menus and guidance passed native and forced-polyfill Browser checks.
    - Native preparation passed actual Pion socket adoption, VP8 SRTP and reverse SRTCP controls. Remote-input geometry and accepted numeric settings have focused regressions.
    - Optional buffer transitions passed real P2P and actual SFU subscriber receiver-API controls for automatic to 300 ms to automatic. The SFU control used a Browser mock upstream rather than the embedded backend; Native preview delegation has unit coverage only.
    - Windows diagnostics passed strict translation compilation, counter tests and stderr-to-diagnostic-ZIP verification. Physical capture, optical QR scanning and a public-network success-rate improvement are not claimed.
    
    ## Impact / 影响
    
    Compatible 2.x update: Browser/server v24, Native control v10, capture v7 and SQLite schema 2 remain unchanged. Optional translations preserve English fallback and the independent visual preference. Playback buffer is a local viewing preference and leaves the default automatic. Existing room authority and invitation handling are preserved.
    
    The HTTP compression dependency receives a compatible patch update. Mirror preparation detects a rejected missing tag before original-artifact downloads; the platform restriction remains open, with original-package validation and continuation rules intact. This does not establish fixes for #499, #502, #529 or #534.
  • docs(release): distinguish mirror settings from write access
    ## Problem and outcome / 问题与结果
    
    The mirror runbook prescribed removing the Pull association as a
    verified way to restore write access. Only rejection of new tags and
    successful publication after source synchronization have been observed;
    changing the overwrite setting did not make tags writable, and disabling
    synchronization has not been tested.
    
    Keep the existing configuration, document immediate synchronization as
    the working recovery path, and retain the supported platform integration
    as unfinished work. Release completion still requires the complete
    verified attachment mirror.
    
    ## Verification / 验证
    
    Repository hygiene and documentation checks passed. Live checks
    confirmed the current Pull configuration and the rejected temporary-tag
    creation; no temporary tag or new Release was created by that check. The
    existing v2.6.3 release remains complete.
    
    ## Impact / 影响
    
    Documentation correction only. No runtime, publication script, package,
    version or repository setting changes.
  • fix(release): decouple download mirrors from source synchronization
    ## Problem and outcome / 问题与结果
    
    A published GitHub release could remain missing from AtomGit while the
    mirror workflow reported a successful deferral, because it required the
    mirrored Git commit and tag first. Package distribution now depends on
    the canonical GitHub release and original artifacts. A missing mirror
    proceeds to publication; only a matching stable release with its
    complete attachment inventory counts as complete.
    
    Release creation uses the mirror's default branch to satisfy AtomGit's
    local tag requirement. The release body identifies GitHub as the source
    authority, and the publisher retains full anonymous size/SHA-256
    verification before marking the mirror stable. The operations guide
    makes verified mirror publication part of release completion and
    documents the read-only Pull-mirror restriction.
    
    ## Verification / 验证
    
    - 58 release publication/readiness/source tests, tooling type checks and
    repository hygiene passed.
    - Workflow lint passed with the existing unsupported `concurrency.queue`
    diagnostic excluded.
    - Recovered the original v2.6.3 artifacts without rebuilding: all ten
    packages (331,048,966 bytes) were uploaded, anonymously downloaded and
    matched against their original SHA-256 values; AtomGit now reports
    v2.6.3 as stable/latest.
    - The platform's Pull association still needs to permit new local tags
    independently of source synchronization; this remains an explicit
    operator follow-up.
    
    ## Impact / 影响
    
    Release tooling and its operating contract only; no App/Server version
    or compatibility change. Scheduled retries remain recovery support and
    no longer report missing source synchronization as successful
    completion.
  • fix(app): restore hosted-site startup and Windows H264 capture
    Saving an App-hosted public site as the startup destination currently reopens its expired address after restart. Persist the hosting selection instead and enter the current ready address. External sites retain their existing fixed-address preference and approval checks.
    
    The Windows MFT request also uses ordinary Baseline while Piik negotiates Constrained Baseline, causing the AMD startup rejection in #538. Request and validate Constrained Baseline without weakening the emitted-stream check. This phase also clears obsolete launcher errors after readiness and restores compact-menu labels.
    
    Refs #538. Review the issue for closure after the release is published; merging this PR alone must not close it.
    
    Validation:
    
    - Web type-check, 108 test files / 1960 tests, production build, and repository hygiene passed. Actual 390px menu layout and the production launcher component's error-to-ready transition passed; the latter used controlled API responses.
    - Affected Go App, config, launcher and mobile bridge package tests and Go vet passed.
    - The current Windows App completed two real Cloudflare startup cycles: it stored the hosting mode rather than the address, restored it without a new launch request, entered the fresh loopback page in Chrome and created a room. Both cycles retired their ports and processes. Public HTTPS requests from this runner failed with TLS IOException / ECONNRESET, so public reachability is not claimed by this test.
    - The Windows hardware H.264 fixture passed on an RTX 4070 SUPER with 360/360 frames, bitrate down/up recovery, and unchanged SPS validation. The affected RX 7800 XT is covered by the reporter's controlled profile comparison and Browser decode evidence. The local integrated AMD adapter failed during MFT activation, before the profile request; it is not a passing AMD regression test.
    
    No wire-version change, dependency update, room-data migration or automatic App-discovery feature is included.
    
    ## Release notes
    
    ### English
    
    This maintenance update fixes Windows H.264 startup and reopening App-hosted sites.
    
    - Request the H.264 profile that Piik actually negotiates. This fixes the AMD encoder startup rejection reported in #538 without loosening the encoded-stream checks or changing the negotiated profile.
    - When an App-hosted site is saved as the startup destination, restart its Local or public-invitation mode instead of reopening an expired temporary address. This applies to desktop and Android Apps.
    - Clear a stale startup error once the site is ready, and restore only startup modes available in the current App.
    - Keep action labels visible in compact header menus on narrow screens.
    
    Existing 2.x App/site compatibility and saved room data are preserved. Update the App for the Windows encoder and startup fixes. Refresh open site pages after updating a hosted Server; App-local pages use the Web UI included in the updated App package.
    
    If a temporary invitation address was saved before this update, start the site again from the App launcher and select “Open this site when Piik App starts” again. Previously saved addresses do not identify which App created them.
    
    ### 中文
    
    本次维护更新修复 Windows H.264 启动失败,以及 App 自托管站点的再次打开问题。
    
    - 让 H.264 编码器请求与 Piik 实际协商的编码规格一致,修复 #538 报告的 AMD 编码器启动被拒绝问题;不放宽码流检查,也不改变协商规格。
    - 将 App 自己托管的站点设为启动入口后,下次启动会恢复局域网或公网邀请模式,不再打开已经失效的临时网址。桌面和 Android App 均适用。
    - 站点已经就绪时清除过期的启动错误,只恢复当前 App 可用的启动模式。
    - 保留窄屏顶部菜单中的操作文字,避免按钮只剩图标。
    
    保留现有 2.x App/站点兼容性及已保存的房间数据。Windows 编码器和启动修复需要更新 App。托管 Server 更新后请刷新已打开的页面;App 本地页面使用新版 App 包内的网页。
    
    曾保存过旧临时网址的用户,请从 App 启动页重新开启站点,并重新勾选一次“启动 App 时打开此站点”。旧记录无法判断这个临时网址由哪个 App 创建。
  • fix(routing): restore room creation after relay disconnects
    Fix a room-creation stall caused by repeated publication attachment attempts, and preserve healthy relay subtrees when capacity is reduced. This maintenance update also fixes two UI details and clarifies audio troubleshooting.
    
    ## 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
    
    This maintenance update restores room creation after an interrupted relay connection and improves relay-limit changes and controls.
    
    - Fix a disconnected relay causing room creation and routing to become unresponsive (#536).
    - Preserve healthy relay subtrees when reducing capacity; move a feasible viewer before retiring the relay branch.
    - Keep resolution inputs focused when their values update, so editing can continue normally.
    - Keep participant headsets visible in both light and dark themes.
    - Clarify how virtual audio outputs affect screen-sharing sound and how to check the selected output device.
    
    Existing 2.x App/site compatibility and saved room data are preserved. Refresh open site pages after the update. App-local users need the updated App bundle for its included Web fixes. A hosted-service restart reconnects active rooms.
    
    ### 中文
    
    本次维护更新修复转发连接中断后无法创建房间的问题,并改善转发上限调整和控件操作。
    
    - 修复转发节点断线后,房间创建和线路分配可能卡住的问题(#536)。
    - 降低转发容量时保留正常的下游分支,优先迁移可迁移的观众,避免直接拆掉整条转发分支。
    - 修复分辨率数值更新时输入框失去焦点的问题,保持连续编辑。
    - 改善亮色与暗色主题下人物耳机状态的可见性。
    - 补充虚拟音频输出与屏幕共享声音的排查说明,帮助确认实际使用的输出设备。
    
    保留现有 2.x App/站点兼容性及已保存的房间数据。站点更新后请刷新已打开的页面;App 本地分享用户需更新 App,才能获得包内网页修复。托管服务重启时,活动房间会重新连接。
    
    ## Validation
    
    - `npm run check`: typecheck, 108 test files / 1953 tests, and the standard Web build passed on clean `e49b66497bf452268a3cb75a70d740fbe2eed072`.
    - Existing route, signal, Server and HTTP App Go package checks passed, including the #536 regression and capacity subtree cases.
    - The standard local Linux amd64 candidate from this revision passed archive/manifest/hash checks and actual execution on the owned Linux VM: configuration checks, health, served Web source identity, two create/authenticate/abandon cycles, and graceful shutdown. This was an explicitly identified development candidate; final v2.6.2 packages remain the release pipeline's output.
    - Actual maintenance-branch component previews confirmed resolution input DOM identity/focus after external updates and headset visibility in both themes, including mute/deafen states.
    
    No native platform matrix was rerun for these changes.
    
    ## Impact
    
    Browser/server v24, Native control v10, capture v7 and SQLite schema 2 are unchanged. Deployment uses the existing atomic wrapper and scoped postflight; it does not change proxy, firewall or persistence configuration.
  • fix(release): resume pending mirrors from original artifacts
    ## Problem and outcome / 问题与结果
    
    An otherwise published release could leave its AtomGit downloads incomplete when the platform had not yet synchronized its Git tag, or when a larger package exceeded the upload deadline. Recovery previously required a manual workflow run.
    
    The existing mirror workflow now checks every three hours and after CI completion. It only resumes the latest published release, locates its original CI artifacts, and retains the existing full-download checksum verification. Complete or deferred mirrors use a sparse tooling checkout and skip dependency installation and artifact downloads. Git synchronization remains entirely with AtomGit; publication waits for the matching synchronized commit and tag and never creates or changes Git references.
    
    Increase only the signed upload deadline from three to ten minutes, following the observed 51 MB APK timeout. Metadata/read timeouts, retry counts and the workflow's 30-minute limit remain unchanged.
    
    ## Verification / 验证
    
    - 58 focused mirror/publisher tests, TypeScript, documentation and diff checks passed.
    - Actual AtomGit readiness was checked against the v2.6.1 source and tag. Fixtures include the provider's four automatic source archives and distinguish them from uploaded packages.
    - The release planner returns `publish: false`. This workflow resumes existing verified packages and performs no software build.
    
    ## Impact / 影响
    
    Release automation only. Source synchronization belongs to AtomGit; Release and attachment completion belong to this workflow. Missing original artifacts or conflicting source identities remain explicit failures and never cause a published version to be rebuilt or overwritten.
  • fix(app): stabilize authorization and compact room controls
    ## Problem and outcome / 问题与结果
    
    App authorization could stay busy after a stalled save, a pending microphone request could survive a capture-source handoff, and compact room controls could lose focus, position or readable names. This maintenance phase corrects those owners and makes connection help easier to find.
    
    ## Verification / 验证
    
    Validation: the exact candidate tree passed all 1,943 Web tests and documentation checks. Its unchanged product source has passed TypeScript and a production Web build. Controlled UI checks cover delayed microphone permission, stalled approval responses, keyboard viewport changes, rapid floating-panel hide/show and narrow nickname layouts. Published 2.x wire, native control and storage contracts are unchanged.
    
    ## Impact / 影响
    
    Compatible 2.x maintenance release. Existing App, site and persisted room contracts are retained. Matching packages, download mirrors and both managed sites are verified through the normal release workflow.
    
    ## 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
    
    This maintenance update improves App authorization, capture-source switching and controls on smaller screens.
    
    - Fix commentary controls remaining busy after switching from Browser capture to the App.
    - Let App site approval recover from a stalled save, keeping access already granted.
    - Preserve numeric-input focus when the mobile keyboard resizes the page, and provide increase/decrease buttons. Keep interaction windows at their remembered position after rapid hide/show actions.
    - Give nicknames readable space on smaller screens, while retaining edit controls and accessible labels. Keep launcher diagnostics inside the shared Help menu.
    - Make room-connection help easier to find, and clarify Safari screen-sharing and sound support.
    - Complete package mirroring after a later CI publication step fails, and verify managed-service deployments against the intended source revision.
    
    This maintenance update preserves the established 2.x room, invitation, media,
    App-control and storage contracts. Refresh a site's open pages after it is
    updated. App-local users need the updated App bundle to receive its included
    Web fixes. Existing compatible 2.x App/site workflows remain supported.
    
    ### 中文
    
    本次维护更新改善 App 授权、切换分享源和小屏操作。
    
    - 修复浏览器切换为 App 采集后,分享麦克风控制一直处于忙碌状态的问题。
    - App 站点授权不再因保存卡住而一直转圈;可以重试,已批准的授权也会保留。
    - 手机键盘改变页面尺寸时保留数字输入焦点,并提供增减按钮;互动窗口快速隐藏再打开后保留记忆位置。
    - 小屏上为昵称保留可读空间,同时保留编辑入口与无障碍名称;启动页诊断统一收进帮助菜单。
    - 更容易找到房间连接问题的排查入口,并说明 Safari 屏幕分享与声音的支持情况。
    - 发布流程后续步骤失败时,仍可补全已经发布的程序包镜像;部署核验明确比对预期源码版本。
    
    本维护更新保留既有 2.x 房间、邀请、媒体、App 控制与存储契约。
    站点更新后请刷新已打开的网页;App 本地使用者需更新程序包,才能使用其中的新网页修复。
    已有兼容的 2.x App/站点使用方式继续支持。
  • fix(ops): verify the expected revision on managed services (#528)
    The Demo and managed private service were still serving older releases after v2.6.0 packages and the website had been published. A healthy response alone did not detect the missed service cutover.
    
    Add an optional `server-check --revision FULL_SOURCE_SHA` to verify the actual running package against the release descriptor, and make both managed-service postflight checks explicit in the deployment runbook. Existing health-only checks remain available. This changes operator tooling and documentation only; it does not publish another product version.
    
    Validation: both managed services pass with the v2.6.0 source revision; a check against the previous Demo revision exits with failure. JavaScript syntax, diff, documentation and repository hygiene checks pass. Both sites have separately been deployed using the original v2.6.0 artifacts.
  • feat: tune relay limits and improve sharing recovery (#524)
    Room defaults and personal relay limits now use the existing route controller. Hosts can set the room default; viewers can follow it or select a lower or higher personal limit, including zero. Lowering a limit uses the existing handoff, and retired connection attempts no longer consume a later viewer's opportunity.
    
    The candidate also preserves native sharing when its local preview fails, prefers a preview-compatible codec in Auto mode when the App supports it, and improves terminal shutdown, input failure feedback and attached-menu positioning.
    
    Validation: Web type checks, 1,936 frontend tests and the production Web build pass. Server, routing, Native host and media-edge tests and vet pass. Real three-viewer browser checks cover default/override synchronization, receive-only, signaling reconnect, downscaling to a chain and automatic recovery after increasing an exhausted route's limit. Narrow-screen, theme and visual-mode control previews were inspected.
    
    Current field investigations remain open: the niri-specific capture failure (#499), the Windows input-refusal trigger (#502), the UU title-only load report and the older capture/source-cadence reports. These are not claimed fixed by this release.
    
    ## 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
    
    - Set a room-wide default relay limit. Viewers can follow it or set their own higher or lower limit; zero receives without forwarding. Limits still follow each device's capability, and route selection remains automatic.
    - Improve connection recovery when viewers join during route preparation or a peer connection is rebuilt. Canceled connection attempts no longer prevent later retries, and rebuilt routes require fresh media before showing as ready.
    - Keep native sharing active when the host's local preview cannot play. Automatic selection prefers a codec the browser can preview when the App supports it, and restoring a preview preserves its playback state.
    - Improve App shutdown when its terminal closes and complete macOS permission descriptions.
    - Retain useful remote-input failure feedback while pending key releases clear. Fix attached-menu scroll jumps, invisible tooltips intercepting clicks and volume guidance when source sound is unavailable.
    
    This update preserves the existing 2.x compatibility baseline. The new relay settings require an updated site; older pages retain their previous relay behavior.
    
    ### 中文
    
    - 房主可以设置房间默认转发上限。观众可跟随默认,也可自行调高或调低;设为 0 时只接收、不转发。实际额度仍受设备能力约束,线路继续自动安排。
    - 改善观众在建立线路期间加入,以及连接重建后的恢复。取消连接尝试后,后续连接仍可正常重试;重建后的线路收到新画面才会显示就绪。
    - 房主本地预览无法播放时,原生分享继续。App 支持时,自动选择优先采用浏览器可预览的编码,恢复预览时保留原有播放状态。
    - 改善终端关闭时 App 的退出流程,补齐 macOS 权限用途说明。
    - 释放待处理按键期间保留远控失败提示;修复附属菜单导致的滚动跳动、不可见提示拦截点击,以及没有分享声音时的音量说明。
    
    本次更新保持现有 2.x 兼容约定。新的转发设置需要更新站点,旧页面保留原有转发行为。
  • fix(media): stabilize native sharing and relay recovery (#521)
    Windows native sharing could end when a refresh frame carried an older timestamp. Concurrent route preparation, source changes and upstream reconnection could also disturb an already committed relay path. This maintenance phase fixes those owners and improves large-frame reception, App return handling and update visibility.
    
    The existing 2.x wire and storage contracts are unchanged. The App update indicator uses the approved App's build identity and shares the launcher's release check and download component.
    
    Validation: `npm run check`, `node scripts/check-go.mjs --all`, repository hygiene, and the existing controlled three-viewer H.264 routing/recovery and App-return checks. The [cross-platform v2.5.3 candidate build](https://github.com/TNTcraftHIM/Piik/actions/runs/41716820555) passes all six App and three Server packages. Its only follow-up changes align the App card and retain the version label's accessible text in visual mode; those changes pass type checks, focused tests and desktop/mobile browser checks in both themes.
    
    Refs #519.
    
    ## 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.3 improves Windows native sharing, relay recovery and App update notices. It preserves the existing 2.x compatibility baseline.
    
    - Fix backward refresh-frame timestamps that could end Windows native sharing, and improve H.264 compatibility for small native outputs.
    - Preserve committed routes and relay children during upstream reconnection, overlapping route preparation and source changes.
    - Reduce large-frame UDP burst loss, keep quality comparisons within their route deadline, and release retired media-statistics work promptly.
    - Show App updates from the connected page as well as the launcher. Refresh App identity after returning to the browser and allow local-network permission prompts to finish.
    - Use AtomGit for the download mirror and show a clear startup error when page controls cannot load.
    
    Update the App and self-hosted Server to receive all fixes, then refresh open pages. Existing room data and browser settings are retained.
    
    ### 中文
    
    Piik v2.5.3 改善 Windows 原生分享、转发线路恢复和 App 更新提醒,沿用现有 2.x 兼容基线。
    
    - 修复补帧时间戳倒退导致 Windows 原生分享结束的问题,改善小尺寸原生画面的 H.264 兼容性。
    - 上游重连、线路准备重叠或分享源变化时,保留已生效的线路和下游转发。
    - 减少大画面帧突发传输时的 UDP 丢包,让画质比较遵守当前线路时限,并及时释放已退出的媒体统计任务。
    - 在已联动网页和启动页显示 App 更新提醒;返回浏览器后刷新 App 信息,并允许本地网络权限提示完成。
    - 下载镜像改用 AtomGit;页面控件加载失败时显示清晰的错误提示。
    
    请更新 App 和自部署 Server,以获得全部修复,随后刷新已打开的页面。已有房间数据与浏览器设置保留。
  • chore(site): keep project feedback on GitHub (#517)
    The website sent project navigation to AtomGit alongside GitHub. Remove
    the AtomGit project button so source code and issue feedback
    consistently lead to GitHub; AtomGit remains available through the
    existing package download links.
    
    Validation: normal website build, built homepage link inspection, 6
    release-automation tests, documentation and repository hygiene checks
    passed. The actual release plan is development with publish:false; no
    App/Server version or release notes changed.
  • chore(release): move the domestic mirror to AtomGit (#516)
    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.
  • fix(media): improve sharing recovery and mobile picture controls
    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 与自部署站点,以获得全部修复,随后刷新已打开的页面。浏览器设置与已有房间数据保留。
  • 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.
  • fix(website): clarify Android mirror downloads and platform icons (#508)
    ## Problem and outcome / 问题与结果
    
    The Android mirror download now points to a ZIP that users extract before installing the APK. GitHub keeps the direct APK download. The existing v2.5.0 signed APK is unchanged inside the additional ZIP attachment.
    
    Use the approved platform icon set in the website's existing download cards, retain the Linux icon, and add Android artwork attribution and platform-name notices. Both getting-started guides explain the mirror's extraction step. Website previews now explicitly use the built output so shared language and theme controls are present.
    
    ## Verification / 验证
    
    - `npm run build:website`, `npm run check`, repository hygiene and `git diff --check` passed.
    - Reviewed the download cards in English and Chinese, light and dark themes, and desktop and mobile layouts. Checked language and theme switching on the built website.
    - Verified the ZIP checksum and its inner APK against the original v2.5.0 release.
    - `node scripts/release-version.mjs plan` returns `publish: false`.
    
    ## Impact / 影响
    
    Website and documentation deployment only. No new App or Server version; no application, protocol or storage changes. The added ZIP contains the original signed APK, and existing release files remain available.
  • feat(app): bring Android sharing and touch control into the shared runtime (#504)
    ## Problem and outcome / 问题与结果
    
    Bring Android into Piik's shared App workflow and make phone control usable without a separate Web UI. One signed APK covers ARM64 and x64; screen capture, room authority, routing, voice and site approval reuse the existing Go and Browser owners. Android opens the user's system browser rather than shipping an embedded browser.
    
    This phase also fixes capture replacement and encoding-clock failures, improves source-audio startup, contains recoverable input and transport failures, adds a bounded relay-volunteer setting and supports hostnames in `SFU_PUBLIC_IP`. The website separates desktop and mobile downloads, gives iOS users an online entry and aligns the bilingual installation guides.
    
    Related reports: #495, #499, #500, #501, #502 and #503. For #502, input execution failures now preserve authorization, and temporary target observations suspend rather than revoke it; the original Windows report remains open for candidate feedback.
    
    ## Release notes
    
    **Piik, now in your pocket.**
    
    Piik App now supports Android screen sharing, with touch controls for a friend's computer.
    
    **手机,也能开播。**
    
    Piik App 现已支持 Android 屏幕分享,也能用手机控制朋友的电脑。
    
    ### English
    
    Piik v2.5.0 brings the App to Android and improves capture reliability, touch control and everyday startup. The existing 2.x compatibility baseline is unchanged.
    
    - **Android App:** share your screen, join room voice or control a supported computer. One APK supports ARM64 and x64, using your own browser and the same Piik interface.
    - **Phone controls:** use direct touch or a compact floating mouse with dragging, left/right buttons and a scroll wheel. Pinch to zoom and pan the picture while controlling.
    - **More reliable sharing:** keep video progressing through source and encoder-output changes, and improve low-bitrate recovery and stationary-screen keyframes. Correct Windows window-size handling and Linux NVENC settings; start optional source sound after video is ready.
    - **Smoother App entry:** retry failed startup in place, reopen the running room and retain the correct App connection when returning from the browser. Compress shared page assets to reduce loading traffic and keep microphone choices stable during ordinary page updates.
    - **Recovery stays local:** a rejected input or canceled source replacement no longer revokes remote-control permission. Full ICE candidate queues and failed audio-parameter updates retain healthy connections. A failed local room leaves the App and unrelated approved sites running.
    - **Connection settings:** relay volunteers can cap their downstream viewers. Self-hosted SFU setups can use a DNS hostname in `SFU_PUBLIC_IP`.
    - **Clearer help:** refine sharing-error guidance, preserve input-failure diagnostics without recording input content, and update the bilingual platform and network guides.
    
    Update both the App and your self-hosted site to use the new features. Android can control a supported computer; the Android device itself is not a controlled endpoint.
    
    If you previously installed a test APK, uninstall it once before installing this release: the official signing key is different. Uninstalling clears App-local site approvals and starred-site choices; browser settings remain in the browser. Later official releases can be installed over this one.
    
    ### 中文
    
    Piik v2.5.0 带来 Android App,并改善采集稳定性、手机远控与日常启动体验。沿用现有 2.x 兼容基线。
    
    - **Android App:** 分享手机画面、加入房间语音,或控制支持远控的电脑。一个安装包同时支持 ARM64 与 x64,使用自己的浏览器和熟悉的 Piik 界面。
    - **手机远控:** 直接触摸操作,或展开小巧的悬浮鼠标,使用拖拽、左右键与滚轮;控制时也能双指缩放、移动画面。
    - **分享更稳定:** 修复切换采集来源、编码输出时画面停止推进的问题,改善低码率恢复与静止画面的关键帧响应。修正 Windows 窗口尺寸处理和 Linux NVENC 设置,来源声音会在画面就绪后启动。
    - **App 进出更顺畅:** 启动失败可原地重试,再次打开会回到正在运行的房间;从浏览器返回时保持连接到正确的 App。共用页面资源启用压缩,减少加载流量,麦克风选项不再随普通页面更新反复加载。
    - **局部问题就地恢复:** 单次操作失败或取消换源不再撤销远控授权;ICE 候选队列满或音频参数调整失败时保留健康连接。本地房间故障不会连带停止 App 和其他已授权站点的分享。
    - **连接设置:** 帮助转发的观众可设置承接人数上限;自部署 SFU 的 `SFU_PUBLIC_IP` 现在支持 DNS 主机名。
    - **排查更直接:** 打磨分享失败提示,补充不记录输入内容的远控故障诊断,并更新中英文平台说明与网络指南。
    
    使用新功能时,请一起更新 App 与自部署站点。Android 可作为控制端操作电脑,手机本身不作为被控端。
    
    曾安装测试 APK 的用户需先卸载一次,再安装正式版,两者签名不同。卸载会清除 App 内的站点授权和收藏,浏览器设置仍保留在浏览器中;后续正式版可直接覆盖安装。
    
    ## Verification / 验证
    
    - Local full Web/type/build checks passed: 104 test files, 1,848 tests; the website and documentation builds passed.
    - Android full-App emulator acceptance covered real decoded screen sharing, concurrent 1080p/540p encoder allocation, live bitrate changes, stationary keyframes, Viewer departure, consent reuse/reentry and final capture-resource retirement.
    - A local universal release APK passed signing, package identity, version-code, ABI and non-debuggable checks using the permanent release key. GitHub Actions receives the same key through encrypted Secrets; manual candidate runs use a disposable candidate signer.
    - Windows real capture checks covered H264/VP8 window resizing and restoration. Source-audio startup and failure/close ordering passed focused runtime checks; Linux race checks passed.
    - Desktop/mobile website layouts were reviewed in English and Chinese, both themes, including grouped downloads, the iOS online entry and self-hosting links.
    - All three Server and six App candidate targets, including the signed Android universal APK, passed in https://github.com/TNTcraftHIM/Piik/actions/runs/40350004792. This uses the same release packaging path with publication disabled.
    - The complete network laboratory passed in https://github.com/TNTcraftHIM/Piik/actions/runs/40354253735: 43 expected scenario outcomes (37 media connections, six expected-unavailable controls), six negative controls, and complete process/network cleanup.
    - Recoverable-error checks cover real encrypted input replies and legacy opt-in, retained grants and held-key cleanup, real Windows target geometry recovery, candidate queue overflow, and audio-parameter retry on the existing edge. Android room failure and full shutdown use real launcher, control WebSocket and supervised-process checks; unrelated site resources remain intact.
    - The lifecycle fixes at `7eb04de373567cfe7aff2db6c93adf2a38e0b1aa` passed all nine package targets and Go/vulnerability/race/Web checks in https://github.com/TNTcraftHIM/Piik/actions/runs/40362794088, including macOS x64/ARM64 cgo and Android. Publication was skipped.
    - Final cross-review found and fixed the same candidate-overflow false failure in the SFU voice owner. Its real-Pion regression verifies the first 64 candidates remain queued, a valid answer drains them, and renegotiation succeeds. Independent reviews confirmed real SDP and authorization failures still propagate.
    - A real-browser before/after check reduced microphone enumeration from nine calls to one across eight ordinary Host rerenders. Changing the native client or switching to Browser capture still enumerates the new devices. The separate focused contribution #507 preserves input focus during queued floating-panel opening and is not attributed to this phase.
    - The verified Windows candidate and reproduction steps have been updated in #502. macOS/Linux physical-device coverage and iOS device acceptance keep their documented boundaries.
    
    ## Impact / 影响
    
    - Planned release: **v2.5.0**; no public wire or storage version bump.
    - Android is a sharing and controlling endpoint, not a remotely controlled Android device. iOS is held outside this release.
    - New Android release target joins the existing complete-target, checksum, GitHub and Gitee artifact pipeline. Signing material stays outside Git; optional input SDKs/drivers are not bundled.
    - The owner authorized closure and publication after the final design review and acceptance checks. Restore the publication gate after the held focused contribution and merge this complete phase once; CI publishes only after its full checks and registered packages pass.
    - Current TODO, platform guidance, media/routing evidence and release operations retain their existing document owners; no additional audit ledger or changelog archive is introduced.
  • fix(media): improve connection recovery and capture compatibility (#498)
    ## 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.
  • feat(room): add remote co-play and refresh the room experience (#497)
    ## Problem and outcome
    
    This phase adds consented remote co-play to normal App/Web rooms and integrates the accepted audio, playback, participant-state and multi-site improvements. It also rebuilds the bilingual README/documentation reading path, refreshes real-component illustrations, and publishes the selected website film.
    
    The candidate preserves the established 2.x sharing/viewing contracts. Optional new behavior follows negotiated capabilities; Windows gamepads use an externally installed driver. The separate accompaniment experiment and unselected film studies are outside this phase.
    
    ## Release notes
    
    **Play together. Your turn!**
    
    Approved friends can now play together with shared keyboard and mouse controls or optional gamepads.
    
    **远程同乐,轮到你啦!**
    
    获准的朋友现在可以共用键鼠,或使用可选手柄,一起玩本地多人游戏。
    
    ### English
    
    Piik 2.4 adds remote co-play, improves shared sound and room controls, and rewrites the bilingual getting-started and help guides around what you want to do.
    
    #### Highlights
    
    - Let approved friends control together. Each player's held keys and gamepad retire independently; everyone shares the Host's mouse pointer. On Windows x64, optional virtual gamepads use a Host-installed ViGEmBus driver. Piik does not bundle or install it.
    - Control shared output volume from the Host's playback bar. The optional share microphone adds your voice to the picture, independently of room voice; stopping the share leaves room voice running. Room voice now defaults to 64 kbps and offers a Host bitrate control.
    - See voice and remote-control participation directly on the couch. Connection details group picture and voice by receive/send direction. Playback actions, chat-overlay settings and dismissible operation feedback have clearer, consistent places.
    - Approve several Piik sites in App and manage each separately, with one optional startup favorite.
    - Follow rewritten English and Chinese README and documentation paths: watching, starting a share, room tools, remote control/co-play, and symptom-based help. Illustrated guides use current product components, theme-aware screenshots and shared diagrams. A dedicated network guide covers campus networks, media UDP, SFU sites and optional virtual LANs.
    - The website has clearer App and co-play FAQs and the selected bilingual 64-second film, with shared playback controls and a held closing card.
    
    #### Fixes
    
    - Tolerate small macOS capture-crop rounding errors without accepting genuinely invalid geometry.
    - Keep shared-audio and microphone volume changes independent, preserve commentary through source replacement, and retire each input at its owning lifecycle boundary.
    - Improve narrow-player controls, touch-held volume menus, tooltip placement and feedback cleanup after reconnection.
    - Repair the release recovery test on macOS and refresh the build and tunnel runtimes.
    
    #### Updating and limits
    
    Update the Host's App and the room site, then refresh open pages to use the new features. Established sharing and viewing remain compatible within 2.x; older peers retain the features they support. The wire versions and SQLite schema are unchanged. Restarting App or Server interrupts active sessions.
    
    Before downgrading App, remove extra approved sites in the newer launcher so at most one remains. Use the [remote-control guide](https://piik.tv/docs/remote-control.html?lang=en) for the optional Windows driver. Linux gamepads remain experimental; macOS virtual gamepads are not currently available. Windows 10 window-sharing black screens ([#495](https://github.com/TNTcraftHIM/Piik/issues/495)) remain under investigation; use screen sharing if affected.
    
    ### 中文
    
    Piik 2.4 新增多人远程同乐,改进分享声音与房间控制,并围绕实际任务重写双语上手教程和帮助文档。
    
    #### 主要更新
    
    - 允许获准的朋友同时控制。各人的按键持有和手柄独立释放,大家共用房主的鼠标指针。Windows x64 可使用房主自行安装的 ViGEmBus 驱动提供虚拟手柄;Piik 不捆绑或安装驱动。
    - 房主可通过播控调整分享输出音量。可选的分享麦克风把说话声加入画面,与房间语音独立;停播后房间语音继续。房间语音默认提升至 64 kbps,并提供房主码率设置。
    - 沙发人物直接呈现语音和远控参与状态;连接详情按画面/语音、接收/发送分组。播放操作、弹幕设置和可关闭的操作提示各有清楚、一致的位置。
    - App 可授权多个 Piik 站点,逐个管理,并选择一个启动时打开的星标站点。
    - 重写中英文 README 和文档中心:从观看、开始分享、房间工具、远控/同乐到按症状排障。图文教程使用当前正式组件、明暗主题截图与同源示意图;独立网络指南说明校园网、媒体 UDP、SFU 站点和可选虚拟局域网的用法。
    - 官网改进 App 与多人同乐 FAQ,采用选定的双语 64 秒短片,复用产品播控并保留结尾品牌卡。
    
    #### 修复
    
    - 容忍 macOS 采集裁剪中的微小舍入误差,仍拒绝真正无效的画面边界。
    - 分享总音量与麦克风音量分别更新;换源保留解说,各项输入按所属生命周期释放。
    - 改进窄屏播控、触摸长按音量菜单、提示定位,以及重连后的提示清理。
    - 修复 macOS 上发布恢复测试的可移植性,更新构建与公网隧道运行组件。
    
    #### 更新与限制
    
    将房主 App 和房间站点更新后,刷新已打开的页面,即可使用新功能。2.x 内保留已有分享与观看兼容性,旧端继续使用其支持的功能;协议版本和 SQLite schema 不变。重启 App 或 Server 会中断当前会话。
    
    如需降级 App,先在新版启动页删除额外授权,最多保留一个站点。可选的 Windows 驱动安装方法见[远控指南](https://piik.tv/docs/zh/remote-control.html)。Linux 手柄仍属实验能力,macOS 当前暂不提供虚拟手柄。Windows 10 窗口分享黑屏而整屏正常的反馈([#495](https://github.com/TNTcraftHIM/Piik/issues/495))仍在调查,本版不声称已修复。
    
    ## Verification
    
    - Integrated Web typecheck, 98 test files / 1,734 tests and production build passed. Later scoped UI repairs passed focused typecheck/tests and preview checks.
    - Focused Go checks cover input grant/held-state ownership, delayed device retirement, native control/Host, config/launcher/loopback, voice negotiation and source-volume binding. Windows capture compilation/probe and the isolated Linux uinput kernel gate passed.
    - Normal-page P2P (22 checks) and embedded-SFU (19 checks) gates passed. P2P explicitly exercised source commentary with room voice, independent shutdown, share retirement and the next share's default-off state; SFU also covers live voice bitrate and voice recovery.
    - Documentation links (108 Markdown files), generated-diagram freshness, the complete bilingual/theme screenshot pipeline and website production build passed. Website/readers were checked at 320, 768 and 1440 px with both languages/themes.
    - macOS crop logic retains geometric self-tests; this Windows environment did not repeat a macOS SDK/hardware run. Linux desktop/game recognition and macOS virtual-gamepad entitlement/runtime remain explicit limits.
    - Windows native window-sharing acceptance passed: Host/Viewer decoding, live and paused quality changes, resize/minimize/restore, source replacement, stop and restart. Capturing the Host Chrome window also passed with Auto/H.264 and VP8, including decoded-frame and pixel checks. The Windows 10 case in #495 was not reproduced and remains separate.
    - Current Go serializers passed the published v2.0.0/v2.3.0 TypeScript readers; existing native input opt-in checks passed. This checks payload compatibility, not an end-to-end run of old published clients.
    
    ## Impact
    
    Compatible 2.x feature release; Browser/server v24, Native control v10, capture v7 and SQLite schema 2 remain unchanged. New co-play, presence, voice settings and native volume behavior are capability-negotiated. Multi-site App settings retain the older single-site reader path; arbitrary binary downgrade is not promised. No independent room/router, new NAT policy, driver installer or separate accompaniment channel is introduced.
    
    ## Related work
    
    Includes the macOS crop correction reported in #492 and the macOS deployment-test portability contribution from #496. Supersedes the incomplete phase PR #494. #495 remains open.
    
    ## Attribution
    
    Co-authored-by: Yuqing Huang <670081066@qq.com>
    Co-authored-by: luol75569-collab <297886760+luol75569-collab@users.noreply.github.com>
  • chore(ops): make maintenance checks reusable
    Cloudflare could keep an older website entry point after Pages replaced its referenced assets. Record the corrected HTML cache boundary and add a reusable maintenance command for checking it, purging website entry points, and checking managed Linux Server health and running-package identity.
    
    Credentials and target details stay in ignored local env files. Server deployment continues to use the existing immutable-package and rollback workflow. The mirror-recovery example also includes the new Windows Server artifact.
    
    Validation: syntax and repository/documentation checks passed; website checks and scoped cache purge ran against the public hosts; Server checks passed against both managed deployments. This changes standalone maintenance tooling and documentation only, with no App/Server release.