Files
piik/docs/guide/room-tools.md
T

157 lines
8.9 KiB
Markdown

# Chat, voice and remote control
This guide covers the 3.0 internal test. For the published version, use the [maintenance guide](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/room-tools.md).
English · [简体中文](./room-tools.zh-CN.md) · [Documentation](./README.md)
A site contains rooms. Select a room in the sidebar to read its conversation.
Once admitted to that room, you can chat, join voice, share a picture or watch
someone else's share. Anyone can create a room and manage their own rooms.
The site's maintainer manages its name, image and backup.
The people panel groups site users into **This room**, **Online** and **Offline**.
Under each room, the left list shows people participating in voice, sharing,
watching or file transfers, including those actively forwarding. Headset, sharing
and watching icons show their activities. Folding the list keeps those activities running.
Use **Edit profile** beside your name to change your nickname or picture.
The same picture appears on your little person's body in chat, voice and the couch.
Choose **Remove picture** to return to the plain coloured person.
## Manage a room
Open the room list (**Rooms** on a narrow screen), then select the settings
button beside that room. This leaves your current conversation and activities
in place. The tabs show the tasks available to you:
- **Room:** Change the name, image or access, then **Save**. **Hide from users
without access** hides a private room from people who have not been admitted.
Under **Users with access**, **Remove room access** ends that user's access and
activities in this room; they need a new grant to return.
- **Connection:** Choose how many people this device helps forward to in this room.
- **Records:** Export loaded chat text. Room owners can also export a full backup
or a copy that someone else can use to create a new room.
Invitations open beside the room title. Copy the link there or use the QR button
below the copy action. Public rooms share a direct link; private invitations
grant access only to their room. Switching to public keeps an existing private
key, but ordinary public access does not grant later private access. Resetting
a private invitation invalidates its old links without revoking admitted users. To replace
its link, expand **Reset room invitation**, then select **Confirm invitation reset**.
Rooms with a password also offer **Password-required link**. New visitors use that password;
people who already have access can enter directly.
The site operator opens settings by selecting the site name above the room list.
### Back up or copy a room
To preserve the original room, use **Records → Export full backup**. To restore
it, choose **Restore full backup**, select the ZIP and confirm the replacement.
The backup contains room settings, complete message history and locally retained files.
To give someone a copy, choose **Export room copy**, optionally including room
information. They select **Create room → Load a room copy**, choose the new name
and access settings, then create it. Messages, reaction counts and available
files remain; their own account manages the new room.
A **site backup** contains site data and the room directory. Each room owner
backs up their own rooms, without centralizing everyone's records at the site operator.
## Chat and reactions
1. Select a room and send a message in its conversation. Use the attachment
button to add an image or file; you can include text with it.
2. Hover over a message or focus its reaction button with the keyboard to show
**React to this message**. Touchscreens keep the button visible. Existing
counts stay below the message; each confirmed click adds one, including
another click on the same reaction after the brief cooldown.
3. To read back, select **Earlier messages**. **Latest messages** returns to
the current conversation.
On a desktop, Enter sends and Shift+Enter adds a line. On a touchscreen, Return
adds a line and **Send** sends the message. Ctrl+Enter or Command+Enter also sends.
Confirmed messages and their reaction counts are saved by the room's host. Refreshing
or returning to the room loads its history again when that host is available.
Chat and history use the site connection and do not wait for a P2P link.
The site forwards message text; it does not keep the room's history.
An attachment's history entry can remain after its readable file copies go
offline; open or download it when a participant with a copy is available.
File content, voice and shared pictures use their own P2P connections.
Selecting a person in the room opens their interaction menu. Expressions and
thrown props are live effects; they are not saved as message reactions.
Beside the viewer count on each picture, reactions use the same controls as
messages. Click an existing reaction to add another, or use **React to this screen**
to choose a different one. Counts last for that share; loading counts does not replay animations.
**More options → Feedback sounds** turns on quiet message and throw sounds for
this browser. Sounds start off. New messages alert you while the page is in the
background; sending or receiving a tomato or poop plays a short cue in the foreground.
Use the separate volume control or **Try sound** to adjust it.
While watching a picture, **On screen** in its playback bar shows that room's
new messages over the picture. **Playback settings → On-screen chat** adjusts
their appearance. Loading earlier history does not replay these effects.
System video fullscreen and video picture in picture do not show chat overlays.
## Room voice
1. In the lower-left personal area, select **Join voice** and allow microphone
access when asked. No one needs to open a room-wide call first.
2. Use the persistent voice controls to mute your microphone, pause listening
or **Leave voice**. **Voice settings** selects the input and noise/echo processing.
![Example room conversation with joined voice controls below it: microphone, listening, settings and leave.](../assets/guide/channel-room.en.png#gh-light-mode-only)
![Example room conversation with joined voice controls below it: microphone, listening, settings and leave.](../assets/guide/channel-room.en.dark.png#gh-dark-mode-only)
Hover over a microphone, headphones or a person's speaker to adjust its volume;
on a touchscreen, press and hold. Muting a person changes only what you hear.
The arrow beside a room folds or expands its voice participant list.
Microphone and listening controls do not change the shared picture's sound.
Room managers can change **Room voice bitrate** in voice settings.
The microphone's green fill follows your voice level. Friends' microphone booms
light up as their voices arrive; an unfolded boom by itself means the microphone is on.
You can join voice in more than one room. When several are joined, use the voice
room selector to choose which room's microphone, listening and leave controls
you are changing. Switching the conversation or stopping a picture does not
leave those voice rooms. Leave each room when you are finished.
Browser microphone access requires a secure context, such as accepted HTTPS
or localhost. The [App reference](../../prototype/channel-server/README.md#local-app-link)
explains local access; [Native media setup](../../prototype/channel-native/README.md)
owns platform requirements.
### Source sound, commentary and room voice
- **Source sound** comes from the shared tab, application or screen and follows
the picture's playback controls.
- **Include my microphone** adds commentary to your picture. Its viewers hear
you without joining room voice; it ends when that share stops.
- **Room voice** is a separate conversation with its own membership and listening controls.
Enabling commentary and room voice together can send your voice twice. Keep
the one you need. Use headphones; system-sound capture can also recapture
voices playing in your browser. See [sharing sound controls](./sharing.md#exclude-a-voice-app-from-screen-audio).
## Keep the room beside a picture or game
Select **Pop out room** beside the couch to move its conversation, people and
voice controls directly into an always-on-top window. Other browsers use the
movable **Room panel** inside the page. Keep the original page open; closing
the small window, or pressing the same room-window button again, returns its
controls and drafts to the page.
Opening or closing this window does not join or leave voice. A windowed or
borderless game lets you keep it visible; exclusive fullscreen may cover it.
## Let a friend control your shared screen
Share an App window or screen, enable **Remote control** on that share and
approve the friend's request. Room admission alone does not permit control.
The viewer requests control from that picture's playback bar and can select
**End control** when finished. The sharer can withdraw permission or stop that share.
See [Native input setup](../../prototype/channel-native/README.md) for platform
requirements. Another person's share has its own control permission.