Files
piik/docs/guide/getting-started.md
T

157 lines
8.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Your first Piik room
English · [简体中文](./getting-started.zh-CN.md) · [Back to Piik](../../README.md)
- **Someone sent me a link.** Open it in your browser. [Join a friend’s room](#join-a-friends-room)
- **I want to share my screen.** [Start in your browser](#use-piik-online). To share one app’s sound or host a room on your computer, [use Piik App](#share-with-piik-app).
## Join a friend's room
1. Open the invitation link your friend sent in a desktop or mobile browser.
2. If the page asks for a passphrase or room password, ask the friend who invited you. An invitation copied with **Skip passwords** takes you straight to the room.
3. Wait for their screen to appear. If the browser blocks autoplay, press **Play**.
4. Move the pointer over the picture or tap it to show the playback bar.
The playback bar controls only your own picture and sound.
See [playback controls](./sharing.md#playback-controls) for fullscreen, display and sound options.
Only have a four-digit code? Open the same Piik site and enter its passphrase if prompted. Select **Join a room**, enter the code, and provide the room password if asked. If code entry is unavailable or an old link fails, ask the Host for their current invitation.
Open your friend’s full invitation if they created the room with App. Their code belongs to their App’s site.
## Use Piik online
1. Open [demo.piik.tv](https://demo.piik.tv) in your browser.
2. 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.
3. Check that the picture you chose appears in the preview. Your share is ready when **Copy invite link** is available.
4. Select **Copy invite link** and send it to your friends, or show the **QR code** for another device to scan.
5. Keep the sharing tab open while friends watch. Select **Stop sharing** when finished.
On iPhone/iPad, screen sharing requires **Safari on iOS/iPadOS 27 or later**.
See [iPhone and iPad screen sharing](./sharing.md#iphone-and-ipad-screen-sharing)
for sound support and the separate requirements for watching and cameras.
The online version sends the picture directly between devices.
Some networks may let you open the page but block the picture.
![Three steps: pick a window, copy its room invitation, and join friends on the sofa.](../assets/quickstart.svg)
## Share with Piik App
On iPhone or iPad, [use Piik in Safari](#use-piik-online).
1. Download **Piik App** for your platform from
[GitHub Releases](https://github.com/TNTcraftHIM/Piik/releases) or the
[AtomGit mirror](https://atomgit.com/TNTcraftHIM/Piik/releases). On Android phones and tablets,
install the APK directly. On a computer,
extract the whole archive and keep its directory structure intact.
2. Open `piik-app.exe` on Windows, `Piik App.app` on macOS, or `./piik-app` on Linux.
On Android phones and tablets, open Piik after installation. The launcher opens in your system browser.
3. Choose **Public invite** for friends outside your local network, then select
**Open Piik**. Other modes are explained below.
4. Choose **Start sharing**, then select **Browser**, **Camera**, **Apps / Windows**, or
**Screens** as available. Pick the actual source and sound option.
5. Copy and send the room invitation. Keep both the App and sharing tab open.
![App source selector with Browser, Camera, Apps / Windows and Screens tabs, window previews and source-audio controls.](../assets/guide/share-source.en.png#gh-light-mode-only)
![App source selector with Browser, Camera, Apps / Windows and Screens tabs, window previews and source-audio controls.](../assets/guide/share-source.en.dark.png#gh-dark-mode-only)
If macOS blocks the first launch, follow the [Mac opening steps](./troubleshooting.md#macos-blocks-first-launch).
<details>
<summary>Which download should I choose?</summary>
| Filename contains | Platform |
| --- | --- |
| `windows-amd64` | Windows x64 |
| `darwin-arm64` | Apple silicon; native capture requires macOS 13+ |
| `darwin-amd64` | Intel Mac; native capture requires macOS 13+ |
| `linux-amd64` | Linux x64 |
| `linux-arm64` | Linux ARM64 |
| `android-universal` | Android 10+; ARM64 and x64 in one APK |
Linux native capture also needs [system components](../../native/capture/linux/README.md).
See the [App guide](../../cmd/piik-app/README.md) for package and runtime details.
</details>
### Choose an App mode
![The App mode selector: Public invite is selected; Local room is the alternative.](../assets/guide/app-modes.en.png#gh-light-mode-only)
![The App mode selector: Public invite is selected; Local room is the alternative.](../assets/guide/app-modes.en.dark.png#gh-dark-mode-only)
- **Public invite:** send a temporary web link to friends elsewhere. It needs
Internet access and lasts until you close the App.
- **Local room:** friends are on the same LAN or virtual LAN. Your computer
must be reachable from theirs. If needed, expand **Local invitation address**
and select the network interface your friends use.
For Local room and Public invite, expand **Site passphrase** to set an optional
access passphrase.
If your browser shows a warning, check with the host before opening the local invitation. [How to check a local invitation](./troubleshooting.md#local-https-certificate-warning)
<details>
<summary>Return to the launcher or change mode</summary>
Once the room service starts, click the connected **App** button at the top right
to return to the launcher, manage site access or reopen the room. The App terminal
also keeps an **App launcher** address. To change between Local room and Public
invite, close and reopen the App, then choose again. This ends the previous room
and generates a new public-invitation address.
</details>
### Use App with an existing site
1. Keep Piik App running and open the Piik site in your browser. Enter its site
passphrase if asked; [Piik online](https://demo.piik.tv) needs no site passphrase.
No room mode needs to be selected in the App launcher.
2. Click **App** at the top. Allow local-network access if the browser asks.
When App is found, choose **Open App page**.
3. Check the site address on the local confirmation page, then choose **Allow access**.
4. Return to the site, choose **Start sharing**, then **Apps / Windows** or **Screens**.
Select a source and send the new room invitation to your friends.
You can also choose **Connect Piik App** inside the **Start sharing** source
selector; its list updates as soon as the connection completes.
If connection fails, the App button offers **Retry** and **Download App**.
You can still share and watch in your browser.
Manage [approved sites and the startup favorite](../../cmd/piik-app/README.md#approved-site)
in the App launcher. If video cannot connect, use the [network guide](./network.md).
### Upgrading
App and site must use the same major version; **2.x and 1.x cannot be used together**.
To replace App or update a group's site, follow the [upgrade steps](../../cmd/piik-app/README.md#upgrading).
## Share from an existing site
Use an HTTPS Piik site provided by your group or administrator.
To run your own site, follow [self-hosting](../operations/self-hosting.md).
1. Open your group's Piik site. Enter its site passphrase if asked.
2. Choose **Start sharing**, then **Browser** to select a screen, window or tab,
or **Camera** where your computer or phone browser supports it.
Enable source audio if the picker offers it.
3. Check the preview, then choose **Copy invite link** and send it to your friends.
4. 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 [Use App with an existing site](#use-app-with-an-existing-site).
The site manages rooms and invitations; the App supplies native capture.
If the site can relay video for viewers who cannot connect directly, turn off **Privacy mode** before
sharing to allow that option.
## Next steps
- [Sharing and playback](./sharing.md): picture settings, camera inputs and source sound.
- [Chat, voice and remote control](./room-tools.md): talk, react or let a friend take control.
- [Troubleshooting](./troubleshooting.md): start from the symptom you see.