Step 3 of ADR-0015. Room voice lived in ChannelSession's shared fields and was retired from generic places: the action() finally block, refreshActivity and applyState each released the microphone, retireCapture rewrote voice intent, and applyState, reconcileLocalMedia and projectActivity each carried a voice arm. VoiceParticipation in voice-participation.ts now holds each room's participation, the shared room microphone and its pending request. It releases the microphone itself after the last consumer: leave, mute, a failed join or unmute, removal by the authority, a retired or ended capture, and close. The session keeps the local publications with publish and retireCapture, personal playback, listening volume, the voiceInput preference and the action() wrapper, and passes them to the owner through one interface. Voice keeps using captureLifetime as before instead of a controller of its own: the session already aborts and replaces it when media is released, and a second controller would be new state with the same lifetime. The scans of the pending set for "voice:" keys in the session and in ChannelVoiceSettings become one question the owner answers, exposed to the interface as voiceBusy(). Screen commentary keeps its separate microphone. No behaviour changes. Verified with tsc -b; tests/channel-session.test.ts passed 605 of 605 with no test edited, as before the move; the whole vitest run passed 159 files and 2327 tests. session.ts went from 4,096 to 3,827 lines, and the new owner has 394.
Piik
Share the good stuff.
Private screen sharing for you and up to 20 friends.
Website · Download · AtomGit mirror · Use online · Documentation
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.
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). Published 2.x servers can provide SFU fallback; 3.0 Server forwarding currently serves Server-hosted rooms.
- 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.
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. |
- Select Start sharing, then choose the picture and audio to share.
- 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
This branch develops the internal 3.0 Rust Server. Use its startup and deployment instructions with a matching Server and Web package. Published 2.x users should follow the 2.x self-hosting guide.
For a local 3.0 trial, keep the bundled web/ directory beside the executable,
set the private owner seed for a new site, then run ./piik-server
(./piik-server.exe on Windows). Open the address printed at startup; the
standalone default is http://127.0.0.1:8791. The
packaged Server steps show both shells.
The 3.0 deployment steps
cover HTTPS, fixed media UDP and public address mapping. Rust reads the process
environment; it does not load .env automatically.
3.0 Server setup → · Environment template · 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.