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

142 lines
7.5 KiB
Markdown

# Your first Piik room
English · [简体中文](./getting-started.zh-CN.md) · [Documentation](./README.md)
This guide is for the **3.0 test App and 3.0 links** supplied to testers.
The public online site and published downloads still belong to 2.x; use the
[published 2.6 guide](https://github.com/TNTcraftHIM/Piik/blob/v2.6.1/docs/guide/getting-started.md)
for those versions.
| You have… | Start here |
| --- | --- |
| A friend's 3.0 link | [Join their room](#join-a-friends-room). A browser is enough to watch. |
| A 3.0 test App package | [Create a room with App](#share-with-piik-app). |
| An existing 3.0 site | [Create a room in that domain](#share-from-an-existing-site), with Browser or App hosting. |
A **domain** is the space containing your group's rooms. People in a room can
chat, join voice, share their own picture and choose which pictures to watch.
## Join a friend's room
1. Open the complete 3.0 link in a computer or phone browser. If asked, enter
the **domain passphrase**, or ask your friend for a current domain invitation.
2. Choose a room from the room list. On a narrow screen, **Rooms** opens that
list. A private room may need its own invitation or **room password**.
3. In the room's available screens, choose the person whose picture you want
and select **Watch**. If playback is blocked, press **Play**.
4. Write in the message box to chat. Select **Join voice** to talk; the arrow
beside it also offers a listen-only option. Allow microphone access if you
choose to speak.
Several people can share at once. You choose which pictures to watch; playback
volume and local pause affect only your own viewing. Move the pointer over the
picture, tap it or focus a playback button to reveal its controls.
You do not need to launch your own App or create another room to watch a friend.
Keep their full link: opening your own App starts a different domain.
## Use a 3.0 link without installing
Open a friend's 3.0 link or a 3.0 site supplied by your group, then follow
[joining a room](#join-a-friends-room). You can also share from the browser
where screen or camera capture is supported. `demo.piik.tv` is the public 2.x
site, not the entry for this test version.
## Share with Piik App
1. Use the **3.0 test package you received**. On Windows, extract the whole
archive and open `piik-app.exe`; on Android, install the supplied APK and
open Piik. Keep the desktop package's files together.
2. The launcher opens in your system browser. Choose a mode below, then
select **Open Piik**. The domain opens with its room list.
3. Select **Create room**, enter a name and choose **Public** for a first room
everyone in the domain can enter. Check the hosting note, then select
**Create room**. You are now in a usable room: send a message to try it.
4. [Invite your friends](#invite-friends), then select **Start sharing**.
Choose **Browser**, **Camera**, or an available App window/screen source.
Select the actual source and enable source sound if offered.
5. Your friends enter the room and select **Watch** on your picture.
Each person joins voice separately; picture sharing does not start a call.
### Choose an App mode
- **Local network:** for friends on the same LAN or virtual LAN. If several
invitation addresses are offered, choose the interface they can reach.
- **Public invite:** for friends elsewhere. It creates a temporary Internet
address while App is running. Send a new link if that address changes.
Local invitations use HTTPS. Before accepting the first certificate warning,
compare it with the fingerprint in the App terminal; see the
[certificate steps](./troubleshooting.md#local-https-certificate-warning).
The domain owner can set **Public** or **Private** entry and an optional domain
passphrase in **Domain settings → Edit domain settings**, beside the domain name.
### Invite friends
- **To the domain:** open the room list and use **Copy domain address** for a
public domain or **Copy domain invitation** for a private domain. Tell your
friends which room to choose. The nearby QR button shares the same link.
- **To a private room:** its owner opens **Room options**, then uses **Copy invitation**
or the room QR button. If no invitation exists, select **Generate new invitation**.
That invitation admits its recipient to the domain and the specified private room.
Send invitations only to people you want to admit. Domain entry and private-room
entry are different: a domain invitation alone does not unlock every private room.
Use **Reset room invitation** only when you want a new link: the old link stops
working, while people who already have access keep it. If an older invitation
cannot be recovered, the panel explains this before you generate a replacement.
![Room options show the invitation, copy and QR buttons first, with reset and room settings below.](../assets/guide/channel-invitation.en.png#gh-light-mode-only)
![Room options show the invitation, copy and QR buttons first, with reset and room settings below.](../assets/guide/channel-invitation.en.dark.png#gh-dark-mode-only)
### Use App with an existing site
1. Keep the 3.0 App running and open your group's **3.0** site.
2. Select **App → Open App page**. Allow local-network access if your browser
asks. Check the site's address on the local page, then select **Allow access**.
3. Return to the site. Connect App **before creating a room** if you want App
hosting; the creation form tells you which runtime will host it.
4. In a room, **Start sharing** now also offers the App's supported sources.
Connecting App keeps an existing Browser-hosted room with its current host.
Manage approved sites from the App launcher. See the
[App reference](../../prototype/channel-server/README.md#local-app-link) for details.
### Upgrading
Use the 3.0 test update supplied to you and keep your existing App data when
updating. After updating App, refresh the Web page. If its App connection reports
an incompatible interface, follow the update prompt. Public 2.x downloads are
not the 3.0 test update.
## Share from an existing site
Open your group's 3.0 address or invitation, enter the domain, then select
**Create room** or choose a room you can enter. Follow
[the room and sharing steps above](#share-with-piik-app), starting at step 3.
You can chat and join voice before anyone shares a picture.
Browser screen/camera access needs HTTPS or a localhost address. Available
sources and sound options depend on the browser and operating system. App is
optional for Browser capture; [connect it](#use-app-with-an-existing-site) for
the native sources supported by your device.
## When you leave or refresh
- **Stop sharing** ends that share. **Stop watching** ends your viewing;
**Leave voice** ends your participation in that room's call.
- Closing your page ends its personal shares, viewing and voice. An
**App-hosted room** continues while App runs; a **Browser-hosted room** is
unavailable while its hosting page is closed. Switching rooms or toggling
**Sharing view** keeps your other room activities running.
- Confirmed chat history belongs to the room's host. Refreshing reloads history
when that host is available; use **Earlier messages** for older pages.
An unsent draft does not survive a page refresh. Captures and voice do not
restart automatically when you reopen a page or App.
## Next steps
- [Sharing and playback](./sharing.md#playback-controls): viewing and sound controls.
- [Room tools](./room-tools.md): chat, voice and remote-control details.
- [Troubleshooting](./troubleshooting.md#common-problems): start from the symptom you see.