TNTcraft ad02ae0bbc 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.
ad02ae0bbc · 2026-11-10 12:02:24 -04:00
597 Commits

Piik mascot

Piik

Share the good stuff.
Private screen sharing for you and up to 20 friends.

Website · Download · AtomGit mirror · Use online · Documentation

License: MIT Up to 20 viewers P2P-first media

English · 简体中文

Piik is a free, open-source screen sharing tool for private live streams with friends: games, movie nights, drawings and photos. Choose what to share and send an invitation. Your friends watch in their browsers. You can also self-host Piik on your own server.

A little room · Show / hide animation

A host with a gold crown switches between a gamepad, paintbrush, camera and remote as friends watch games, drawings, photos and a film.

Features · Get started · Self-hosting · Contributing

Features

  • Watch without installing. Friends join by invitation in a desktop or mobile browser.
  • Share from Piik App or an existing Piik site. Choose a screen, window, browser tab or camera; available sources and audio depend on the platform.
  • Direct connections first. Media travels between participants where possible (P2P). A self-hosted server can provide automatic media forwarding (SFU) as a fallback.
  • Rooms you control. Invitations, room codes and optional room passwords, for one host and up to 20 viewers.
  • Talk and chat together. Join room voice, send messages and reactions, or enable on-screen chat.
  • Hand control to friends. Share an App window or screen and approve remote control. Allow friends to play together with shared keyboard/mouse or supported gamepads; take control back at any time. Setup guide.
  • Flexible viewing. Light and dark themes, playback controls, picture-in-picture and a connection topology view.
  • One program to host a site. Web UI, room management and optional media forwarding are packaged together.

Piik room: a shared game, playback controls, chat and friends on a sofa. The host wears a small gold crown.
Interface preview · Sample room with a generated game scene

Get started

To watch: open the invitation your friend sends you. Select Play if the picture does not start automatically.

To share: download Piik App to get started. To share without installing, you can also create a room in the online version.

Start here What you need to do
Use Piik online Share from a desktop browser, or choose Camera on a phone with browser camera support.
Download Piik App Extract the desktop package or install the mobile app, open Piik, choose Public invite, then Open Piik.

Choose a screen, send an invitation, watch together.

  1. Select Start sharing, then choose the picture and audio to share.
  2. Select Copy invite link and send it to your friends. Keep the sharing tab open.

Open Interact → Voice to talk together, with or without picture sharing. The Host opens voice; everyone joins to listen and chooses when to turn on their microphone.

Piik follows your system language: Chinese or English, with English as the fallback. Use 中 / EN / ✦ in the header to switch language or try the visual mode. The App can create a local room or temporary public invitation, and stays available to supply capture for an approved site. Keep it running while sharing.

Illustrated getting started → · Troubleshooting →

Choose a download beginning with piik-app. The guide covers installation, source selection and invitations.

Browser capture requires HTTPS or localhost. The App's temporary public link and the online version use P2P and need a usable UDP connection between participants. For campus networks, failed media connections or virtual LANs, see network checks and connection options.

Self-hosting

Deploy Piik Server to run a site for your group.

Deploy Piik with Docker Compose

Piik Server runs on Windows x64 and Linux x64/ARM64, with the web interface built in. Download the Server package for Linux x64 (piik-<revision>-runtime.tar.gz) or ARM64 (piik-<revision>-linux-arm64-runtime.tar.gz), extract it, and run:

./piik-server

Windows x64 uses piik-<revision>-windows-amd64-runtime.zip; extract it and run ./piik-server.exe in PowerShell. The same configuration applies.

Open http://localhost:8787 to try it locally. For a public site, configure your domain, HTTPS reverse proxy and STUN address. Room data is stored in SQLite. For containers, use the Docker Compose setup.

Deploy your own site → · Configuration · Run from source

Contributing

Bug reports, translations, documentation improvements and pull requests are welcome. See ways to contribute or help translate Piik. Use the repository layout to find your way around.

License

Piik-owned code is MIT licensed. Dependencies retain their own licenses and notices.

Project activity

Piik on Trendshift

Piik GitHub star history

S
Description
Piik — 轻量屏幕共享(镜像 + 服务器构建成品)
Readme MIT
74 MiB
0 Stars 1 Watchers 0 Forks
2026-11-30 11:10:23 +08:00
Languages
TypeScript 47.5%
Go 38%
C++ 4.6%
JavaScript 3.1%
CSS 2.5%
Other 4.3%