Sharing failures were often reduced to a generic message, and changing Windows audio exclusion required reopening source selection. This phase keeps actionable failure context at the TV status indicator, adds live source-audio controls, and integrates independent capture, codec and ICE-lifetime repairs against the published contract. The audio controls reuse source replacement and the existing mixer; audio-only changes preserve video capture, encoded sources and connections. Source enumeration is bounded by the serialized control response. Codec preflight and H.264 decoder input enforce the existing native format. Gateway mappings are revalidated only for actual ICE gatherings. Website scripts and styles now share content-addressed build output. Browser/server v23, Native control v9, capture v7 and the 1440p ceiling stay unchanged. The held 4K/capability candidate and Magicsock transport are excluded. Documentation changes belong to the existing guides, standards and evidence owners. ## Validation - `npm run check`: type checking, 81 test files / 1,370 tests and the production Web build passed. - `npm run check:go`: Go tests, formatting, vet, cross-builds and Windows native capture regressions passed. A first run hit Windows temporary-directory cleanup after an unchanged SQLite test; five focused repetitions and the full rerun passed. - Native Host gates passed separately with H.264 and VP8: live/paused quality changes, minimized-window recovery, source replacement, Viewer decoding and complete process/port cleanup. The App Local entry/authentication/invitation gate passed. - Website/documentation build, documentation links and repository hygiene passed. Browser review covered Chinese/English, dark/light controls, 320px/360px and desktop layouts, audio selection/off state, troubleshooting dialog/ESC focus return, matching GitHub/Gitee architecture links and the embedded film. - macOS/Linux physical capture, Windows 10 exclusion and representative network/device coverage remain explicit evidence limits. CI must pass Linux race checks and native packaging before publication. ## Release notes ### 中文 这是一次分享体验与兼容性更新。Windows App 支持在开播后调整排除的应用声音;遇到分享失败时,也有更清楚的提示和排查入口。 #### 使用改进 - 在「分享设置 → 声音」中调整系统声音和排除的应用,无需停止分享。支持的 Windows 10 系统也会按实际能力显示排除选项。 - 分享失败提示保留具体原因。点击电视下方状态,可查看处理建议、诊断入口及对应的故障排查文档。 - 补全中英文常见问题说明,涵盖 App 连接、选源与编码、站点地址配置、严格网络和浏览器 HDR 限制。 #### 修复 - 修复窗口较多或名称较长时选源列表可能加载失败,以及部分独立窗口未列出的情况。 - 改善 Windows 窗口最小化、恢复后的采集衔接。 - 修复部分 Firefox 编码属性影响连接的问题,并使原生接收的格式预判与实际支持范围一致。 - 重连时刷新网关端口映射,避免沿用已失效的映射结果;加强原生 H.264 输入校验。 - 官网下载架构切换增加统一动效,脚本与样式使用带内容标识的地址,减少更新后的缓存混用。 更新 App 并刷新页面即可使用相应改进,无需迁移配置或房间数据。Windows 10 音频排除是否可用取决于系统能力。 ### English This update improves sharing controls and compatibility. Windows App users can change audio exclusion during a share, and sharing failures now provide clearer guidance and a direct troubleshooting entry. #### Improvements - Change system sound and the excluded application under **Sharing settings → Sound** without stopping the share. Supported Windows 10 installations can also expose exclusion after the capability check. - Sharing failures retain their specific cause. Select the status below the TV for recovery suggestions, diagnostics and the relevant troubleshooting guide. - Updated English and Chinese guides cover App connectivity, source selection and encoding, site-address configuration, restricted networks and Browser HDR limitations. #### Fixes - Fixed source lists failing with many windows or long titles, and certain independent application windows being omitted. - Improved Windows capture transitions when a window is minimized and restored. - Fixed stale Firefox codec attributes disrupting connections and aligned native receiver preflight with its supported formats. - Refresh gateway port mappings for new ICE gatherings instead of reusing stale results, and validate H.264 input before native decoding. - Added consistent motion to website architecture selection and content-hashed script/style URLs to prevent mixed cached versions. Update the App and reload the page to use the relevant improvements. No configuration or room-data migration is required. Windows 10 audio exclusion depends on actual system capability.
139 lines
8.2 KiB
Markdown
139 lines
8.2 KiB
Markdown
# Current Status
|
|
|
|
Last updated: 2026-10-06
|
|
|
|
This is the compact execution/deployment index. Product modules own behavior,
|
|
[verification status](./verification-status.md) owns unresolved physical limits,
|
|
and Git/PRs own completed history.
|
|
|
|
## Accepted Release Contract
|
|
|
|
- Browser/server v23, Native control v9 and capture v7 form the current contract.
|
|
[Versioning](./standards/versioning.md#public-compatibility-promise) owns
|
|
compatibility between published Web/App/Server versions.
|
|
- Hosted Server defaults to SQLite schema 2. Room authority has no inactivity
|
|
expiry; explicit 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](./standards/configuration.md#diagnostics) 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 Host microphone commentary are accepted product features.
|
|
Both Browser and native App audio use the existing media routes; device
|
|
selection and sharing settings keep their current resource owners. The
|
|
[capture assessment](./research/camera-and-microphone.md) owns platform behavior
|
|
and the remaining physical evidence 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](./research/room-interactions.md) 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 now share automatic HDR-to-SDR conversion;
|
|
synthetic GPU and Browser reception checks pass, with physical HDR display
|
|
acceptance still pending in [verification status](./verification-status.md).
|
|
Room voice is outside the product plan; Host microphone commentary remains.
|
|
These features are published; physical device limits remain open.
|
|
Release artifacts and operator deployment records own delivery completion;
|
|
[TODO](./todo.md#now) owns remaining work.
|
|
|
|
## Current Work
|
|
|
|
The public baseline retains Browser/server v23, Native control v9, capture v7
|
|
and the 1440p ceiling. The compatible maintenance phase combines sharing-failure
|
|
guidance and bilingual troubleshooting with source-list, codec admission,
|
|
minimized-capture and gateway-mapping repairs. Live audio-exclusion controls
|
|
reuse the source/mixer owner; website controls retain shared motion and cache
|
|
identity. 4K and resolution/capability expansion are not planned for this phase.
|
|
Native Magicsock remains a separate experiment, outside product integration.
|
|
Immutable release artifacts own delivery completion; [TODO](./todo.md#now) owns
|
|
remaining work.
|
|
|
|
## 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; external LiveKit/coturn services remain disabled. Participants, routes and
|
|
media remain process-only. This private service is not a public demonstration.
|
|
|
|
The separate US [public demo](https://demo.piik.tv) 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](./todo.md) owns remaining verification and follow-up 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.
|
|
|
|
Matching Server and registered App packages are published on GitHub and Gitee;
|
|
anonymous mirror downloads match the original checksums. 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](./standards/versioning.md). [Verification status](./verification-status.md#device-evidence-boundary)
|
|
owns the remaining physical limits; shared lessons live in
|
|
[engineering](./standards/engineering.md).
|
|
|
|
## 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](./research/browser-local-encoding-pool.md)
|
|
owns these measurements and failed controls. The owner accepted this scoped
|
|
Browser composition for release; actual deployment identity stays in the
|
|
runtime descriptor.
|
|
- Slow adaptation recovery, the extreme CPU-overload sampling limit and missing
|
|
broad device/network/endurance results remain explicit in
|
|
[encoder research](./research/webrtc-encoder-pool.md) and verification status.
|
|
macOS/Linux physical capture is deferred by the owner; Windows App and
|
|
Browser are this phase's primary targets.
|