## Problem and outcome / 问题与结果 This phase adds lightweight room interaction without making media depend on chat, and adds Windows source-audio exclusion and optional SFU-only hosting at their existing owners. It also corrects confirmed encoder/capture ownership and native color-conversion defects. Host microphone commentary remains on the shared media path; room voice and 4K are outside this phase. ## Release notes ### 中文 这是一次功能更新:Piik 加入了文字聊天与表情互动,并完善了 Windows 声音采集、画面颜色和自部署选项。 #### 新功能 - **边看边聊。** 在可移动、可缩放的聊天窗口中发送消息,或开启弹幕。停止分享后,房间中的朋友仍可继续聊天。 - **表情互动。** 点击沙发上的人物,给自己发表情,或把番茄等表情送给朋友;各端按同一事件显示动画。 - **排除应用声音。** Windows App 分享整个屏幕时,可排除一个应用及其子进程的声音,适合同时使用语音软件。所选应用退出后,来源声音停止,避免恢复为未过滤的系统声音。 - **可选的纯 SFU 模式。** 自部署管理员可让共享画面和声音统一通过媒体服务器转发。默认仍为优先 P2P;App 公网邀请保持纯 P2P。 - **Windows HDR 转 SDR。** 原生采集与缩略图自动将 HDR 来源转换为 SDR,沿用现有观看链路。 #### 修复与改进 - 修复原生颜色转换的范围与矩阵处理,避免已复现的暗部丢失、高光裁切和颜色偏差。 - 修复共享编码器切换时使用过期需求或过期帧信息的问题,保护正在观看的画面;修复换源后旧采集事件可能影响新来源的问题。 - 统一新控件、浮窗与来源选择文案,补充中英文使用说明。 #### 使用与升级 聊天与表情需要新版站点页面和 Server;声音排除需要新版页面与支持此能力的 Windows App。聊天只保留本页最近收到的消息,刷新后清空,不补发历史,且不提供端到端加密。 HDR 转换输出为 SDR,不代表端到端 HDR 或多声道支持。既有房主麦克风与立体声能力保留。 ### English This feature update brings text chat and reactions to Piik, alongside improvements to Windows audio capture, picture colors and self-hosting options. #### New features - **Chat while watching.** Send messages in a movable, resizable window, or enable on-screen chat. Friends can keep chatting after the host stops sharing. - **Reactions.** Select a person on the sofa to react above yourself or send a tomato and other reactions to a friend. Participants animate the same shared event. - **Exclude application audio.** When sharing a whole screen with Windows App, exclude one application and its child processes, useful when using a separate voice app. Source audio stops if the selected app exits, preventing a return to unfiltered system sound. - **Optional SFU-only hosting.** Site operators can require shared video and audio to pass through the media server. P2P-first remains the default; App Public invite remains P2P-only. - **Windows HDR-to-SDR conversion.** Native capture and source thumbnails automatically convert HDR sources to SDR for the existing viewing path. #### Fixes and improvements - Correct native color-conversion ranges and matrices, addressing reproduced crushed shadows, clipped highlights and color shifts. - Correct stale demand and frame evidence during shared-encoder handoffs to protect the current picture. Prevent events from a replaced capture from affecting its successor. - Align new controls, floating panels and source-picker copy, with updated Chinese and English guides. #### Using this update Chat and reactions require updated site pages and Server. Audio exclusion requires updated pages and a Windows App that supports the capability. Chat retains only recent messages received by the current page, clears on refresh and does not replay history. It is not end-to-end encrypted. HDR conversion produces SDR; it does not add end-to-end HDR or surround sound. Existing host microphone commentary and stereo support remain available. ## Verification / 验证 - Web type checks, 78 test files / 1275 tests and production build: PASS. - Go core tests, formatting/vet and target builds: PASS; Darwin cgo remains platform-limited on this Windows runner. - Native build/check/color probes and synthetic HDR-to-SDR H.264/VP8 browser reception: PASS. - Access/privacy gate, Native H.264 SFU-only media gate and local Auto/H.264 Host gate: PASS. - Three real production pages: chat/reactions, stop/resume, idle-room join, host departure/return, offline draft recovery and invitation revocation: PASS. - Synthetic parent/child process-audio exclusion and target lifetime: PASS; no raw audio retained. - Windows candidate archive extraction and packaged Local startup/shutdown: PASS. - Documentation and website build: PASS. - [Candidate CI](https://github.com/TNTcraftHIM/Piik/actions/runs/36873766646) at `f26cd208d03bc0dcbe353f8cac217f993216b0a3`: Go core and race checks, Web tests, Server/container checks and Windows/macOS/Linux App packaging all PASS. Publication was skipped as intended. The owner accepted the UI/model and bounded local walkthrough for phase closure. Physical HDR/mixed displays, mobile keyboard, real voice applications across output devices and macOS/Linux capture remain unverified. Existing field reports without matched evidence are not claimed resolved. The owner authorized v1.7.0 publication on 2026-10-02. The final documentation-only commit records that authorization; product code matches the verified candidate above. ## Impact / 影响 Authorized version: **v1.7.0**, matching the local release planner. Current wire contracts remain Browser/server 23, Native control 9 and capture 7. Optional capabilities gate new functionality; existing room/media authority remains owned by the existing services. No new ports, message persistence, room voice or automatic room creation on page visit. Updated README, guides, standards, research evidence and TODO stay with the candidate phase.
10 KiB
Your first Piik room
English · 简体中文 · Back to Piik
Piik shares one person's screen with up to 20 invited viewers. This guide covers watching, using Piik online, using Piik App and sharing through an existing site.
Join a room · Use online · Piik App · Existing site · Chat and reactions · Troubleshooting
Viewers need a browser and an invitation. To start sharing, download Piik App and choose Public invite. To share without installing, open Piik online and create a room in your browser.
Join a friend's room
- Open the invitation link your friend sent in a desktop or mobile browser.
- Wait for their screen to appear. If the browser blocks autoplay, press Play.
- Move the pointer over the picture or tap it to show the playback bar.
The playback bar controls only your own picture and sound. On a computer, click the picture to pause or resume; double-click to enter or leave fullscreen where supported. On a phone, tap the picture to show the bar and use its buttons. Safari may show system controls in video fullscreen.
Playback controls, at a glance
| Control | What it does |
|---|---|
| Theater mode | Expands the picture inside the browser tab. |
| Fullscreen | Fills your screen. |
| Picture in picture | Opens a floating video where supported. |
| Volume | Goes up to 200% with audio boost, or 100% otherwise. Lower it if the sound distorts. |
With just a four-digit room code, open the same Piik site and choose Join a room. You may need the site's passphrase and the room's password. The host decides whether code entry is available; ask for an invitation link if you cannot join by code.
Hosts can turn off Skip passwords beside the link to copy the ordinary room address. Visitors follow the site's and room's access checks; invite-only rooms require the invitation credential. This switch does not revoke existing invites.
If an old link no longer works, ask the host for the current invitation. App Local rooms and temporary public invitations end when that App run stops.
Use Piik online
- Open demo.piik.tv in your browser.
- Select Start sharing, then Browser for a screen, window or tab, or Camera where your computer or phone browser supports it. Enable source audio if the picker offers it.
- Confirm the preview and select Copy invite link. Open that link on a second device or send it to a friend.
- Select Stop sharing when finished.
The online version is provided by the project. Media travels only between participants (P2P); restrictive networks may load the page but block video.
Share with Piik App
- Download a
piik-apparchive for your platform from GitHub Releases or the Gitee mirror. Extract the whole archive and keep its directory structure intact. - Open
piik-app.exeon Windows,Piik App.appon macOS, or./piik-appon Linux. The launcher opens in your system browser. - Choose Public invite for friends outside your local network, then select Open Piik. Other modes are explained below.
- Choose Start sharing, then select Browser, Camera, Apps / Windows, or Screens as available. Pick the actual source and sound option.
- Copy and send the room invitation. Keep both the App and sharing tab open.
| Filename contains | Platform |
|---|---|
windows-amd64 |
Windows x64 |
darwin-arm64 |
Apple silicon; native capture requires macOS 13+ |
linux-amd64 |
Linux x64 |
Windows App and browser sharing are the primary tested paths. The macOS and Linux apps have not yet been tested on physical devices; test results and feedback are welcome. Linux native capture also needs system components. See the App guide for package and runtime details.
Choose an App mode
| Mode | When to choose it | What to keep in mind |
|---|---|---|
| Local room | Friends are on the same local network. | If several entries appear under Local invitation address, choose the interface and IP on your friends' network. Your computer must be reachable from theirs. A local site passphrase is optional. |
| Public invite | Friends are elsewhere and you want a temporary invitation. | Needs Internet access. The public address lasts for this App run. |
| Connect to Site | Your group already has a Piik site. | Enter its address; the App adds capture capabilities to the site's sharing page. |
For Local room and Public invite, expand Site passphrase to set an optional access passphrase.
For Connect to Site, enter the full site address, such as
https://demo.piik.tv, then choose Open Piik. Enter the site's passphrase
on the page that opens if asked.
After opening the site through the App once, the same browser remembers that
entry. Keep the App running with that site configured and you can visit the
address directly. Start sharing opens the selector; choose Apps / Windows
or Screens for App capture. Allow local-network access if the browser asks.
In another browser, in a private window, or after clearing site data, enter through
the App again. For a different site, update the address in the App first.
A page that opens does not guarantee a video connection. Public invite gives your room a temporary web address; picture and sound still travel between participants. This mode has no media-server fallback, and the temporary address has no uptime guarantee. All modes need a working UDP media path. The App guide explains the connection setup.
Share from an existing site
You need an existing HTTPS site running Piik Server, provided by a friend or administrator. You can also use Piik online or Piik App. Hosting a site yourself is an advanced option: follow the self-hosting guide for server, HTTPS and network setup.
- Open your group's Piik site. Enter its site passphrase if asked.
- Choose Start sharing, then Browser to select a screen, window or tab in the browser picker, or Camera where your computer or phone browser supports it. Enable source audio if the picker offers it.
- Check the preview, then choose Copy invite link and send it to your friends.
- Keep the sharing tab open. Use Pause sharing, Switch source, or Stop sharing when you need them.
Screen capture requires an HTTPS site or localhost. The sources and audio
offered by the picker depend on your browser and operating system.
Invitation links grant access to that room; share them with the people you want there.
To use App capture on that same site, follow Connect to Site. The site manages rooms and invitations; the App supplies native capture. If its operator has enabled SFU forwarding, turn off Privacy mode before sharing to allow that fallback. The project's online site uses P2P only.
Add your voice
While sharing, select Microphone below the picture and allow microphone access. Select it again to mute. Open Sharing settings below the picture to choose a microphone and adjust its input volume. The default volume is 100%, with up to 200% available. Source audio and your voice reach viewers together. The Host preview stays muted.
Camera sharing does not enable the microphone automatically. App Apps / Windows and Screens capture use the same controls. Leave the device on Default device or choose a specific microphone. In the Camera tab, allow access if asked, then select a picture card to start sharing. Device names and previews depend on browser permissions; while a camera is shared, other cameras are listed by name. Use headphones to keep speaker sound from feeding back into the microphone.
Exclude a voice app from screen audio
On supported Windows Apps, open the Screens tab and enable System sound. Under Exclude application audio, select a window belonging to the voice app, then choose the screen to share. Open the app's window and refresh if it is absent. This excludes one process and its children. Other apps remain audible, including those playing through other output devices. It does not mute your Piik microphone or prevent speaker sound reaching a microphone.
If the excluded app closes or restarts, source audio stops. Use Switch source and select it again. Turning source audio off retains the exclusion choice; select None to restore unfiltered system audio. This control requires an updated page and a Windows App whose capability probe supports process exclusion; it is not a Browser-capture filter.
Chat and reactions
Once the host starts the first share, participants can select Chat below the sofa to send messages. Select a person on the sofa to open their reaction menu: your own reactions appear above you; reactions sent to a friend fly towards them. The chat window can be moved and resized without rearranging the page.
On screen, beside the message box or in the viewer's playback bar, shows new messages over the picture. It is off by default and only changes your own view. System video fullscreen and picture in picture cannot show these overlays.
Stopping a share keeps the room's chat available. App Local and Public invite rooms require the App to stay open. Each page retains only its latest received messages: refreshing clears them, and late joiners receive no earlier history. Chat travels through the room's server and is not end-to-end encrypted.
When something gets in the way
For sound, capture, startup or playback issues, see Troubleshooting.
When video will not connect
See connection troubleshooting for “No media route available” and similar connection failures.