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

157 lines
9.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) · [Documentation](./README.md)
- [Watch a friend’s screen](#join-a-friends-room)
- [Share from your browser](#share-your-screen-in-a-browser) or [share with Piik App](#share-with-piik-app)
## Join a friend's room
1. Open the invitation link your friend sent in a browser on your phone or computer. You can watch without installing Piik App or creating an account.
2. If Piik asks for a **Site passphrase** as soon as you open the link, ask your friend for the passphrase for that site. If the room shows **Enter room password**, select it, enter the password for that room and select **Join**. An invitation with **Skip passwords** takes you straight to the room.
3. If you see a **Play** button on your friend’s picture, select it. Tap the picture or move your pointer over it for [playback controls](./sharing.md#playback-controls).
If you received only a four-digit room code, ask your friend for their Piik site address. Open that address, enter the **Site passphrase** if prompted, then select **Join a room**. Enter the four digits and select the arrow. If the room requires a password, ask your friend for it. For an invitation-only room, ask for the full invitation link.
![Four room-code boxes and the arrow that submits the code.](../assets/guide/join-code.en.png#gh-light-mode-only)
![Four room-code boxes and the arrow that submits the code.](../assets/guide/join-code.en.dark.png#gh-dark-mode-only)
![The Enter room password control opens a password field and a Join button.](../assets/guide/join-password.en.png#gh-light-mode-only)
![The Enter room password control opens a password field and a Join button.](../assets/guide/join-password.en.dark.png#gh-dark-mode-only)
[Get help joining or watching](./troubleshooting.md#common-problems).
<a id="use-piik-online"></a>
## Share your screen in a browser
1. Open [demo.piik.tv](https://demo.piik.tv) in your browser. You can share without an account or download.
2. Select **Start sharing**. Choose **Browser** to share a screen, window, or tab, or **Camera** to share your camera. Pick what you want viewers to see and enable audio if the picker offers it.
3. When your picture appears, select **Copy** under **Admission** and send the invitation to your friends. If a friend is nearby, open the **QR code** beside the link for them to scan.
4. Keep the sharing tab open while friends watch. Select **Stop sharing** when you’re done.
For iPhone or iPad, see [screen sharing in Safari](./sharing.md#iphone-and-ipad-screen-sharing). If you can’t start sharing, see [sharing troubleshooting](./troubleshooting.md#starting-a-share).
![Copy appears above the sample invitation, its QR code button and the Skip passwords switch.](../assets/guide/invite-copy.en.png#gh-light-mode-only)
![Copy appears above the sample invitation, its QR code button and the Skip passwords switch.](../assets/guide/invite-copy.en.dark.png#gh-dark-mode-only)
![The invitation QR code opens in a small panel. Ask your friend to scan the code from your own room.](../assets/guide/invite-qr.en.png#gh-light-mode-only)
![The invitation QR code opens in a small panel. Ask your friend to scan the code from your own room.](../assets/guide/invite-qr.en.dark.png#gh-dark-mode-only)
## Share with Piik App
On iPhone or iPad, [use Piik in Safari](#share-your-screen-in-a-browser).
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. Choose what friends should see and turn on sound if you want them to hear it.
5. Select **Copy** beside the invitation link and send it to your friends. 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. When the preview shows your picture, select **Copy** under **Admission** and send the invitation 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.