Skip to content

MiroTalk LK host controls & room access

Host & room passwords

People panel with a raised hand listed first, host and co-host badges, and a participant's menu with Remove from meeting

  • The first person to join an empty room becomes the host (shown with a Host badge). The browser keeps a private host key, so the host keeps the role after a page refresh.
  • Everyone's microphone and camera status is always shown in the People panel (gray when on, red when off).
  • The host can mute a participant's microphone or turn off their camera (they can turn either back on themselves) or remove them, from the People panel (hover a person and click their microphone or camera, or pick Remove from meeting in their ⋯ menu) or the buttons in the top-left corner of their video tile (in its ⋯ menu when the tile is small), and mute everyone, turn off everyone's camera or remove everyone at once with Mute all, Stop all video and ⋯ → Remove all in the People panel (removing asks for confirmation first; the captions agent and recordings aren't affected, and a co-host's Remove all keeps the host and other co-hosts).
  • Anyone can raise their hand (✋ button or Ctrl+Alt+H). Raised hands appear on the person's video tile, as a count on the People button, and first in the People panel in the order they were raised; the host gets a toast and a chime. A hand is lowered by clicking the button again, by unmuting the microphone, or by the host clicking Hand raised in the People panel. The hand is a participant attribute set by the server (participants can't change their own attributes), so everyone, including people who join later, sees the same state.
  • The host can make someone a co-host (⋮ → Make co-host next to their name in the People panel, and Remove co-host to take it back). Co-hosts have the host controls (mute, stop video, remove, raise-hand, waiting room, room password, recording, live streaming) except that they can't end the meeting for everyone, change roles, or remove the host or other co-hosts.
  • The host can also hand the host role over (⋮ → Make host): the other person becomes the host and the old host (and any other host session) a regular participant. The new host's browser gets its own host key, so they stay host after a refresh; the old key, and host tokens issued before the handover, stop working.
  • Roles are participant attributes set by the server (shown as Host / Co-host tags), and host actions are checked against the caller's current role, so a change takes effect right away. Co-host lasts for the session: after leaving and rejoining, the host has to make them co-host again. With host sign-in, a handed-over host role survives a refresh only for a signed-in host.
  • When the host clicks Leave while others are in the meeting, they can end the meeting for all (everyone is disconnected) or just leave and let the others continue (co-hosts keep moderating).
  • A room can be locked by entering a password in the lobby (under Security options) when starting it, or with the host's Room access button during the meeting. Others must enter the password to join; the host can change or remove it at any time.
  • Removed participants can rejoin an unlocked room, so lock the room (or turn on the waiting room) to keep them out.
  • Display names are unique per meeting: joining with a name that's already in it (ignoring case and spacing) is refused for hosts and guests alike, so everyone can tell participants apart. A host who refreshes or rejoins from the same browser tab resumes their previous session, while a second tab must use a different name. The People panel has a search box to find someone by name.
  • The host key and password live in LiveKit room metadata (password stored as a salted scrypt hash) and last while the meeting is active. Once a room has been empty for about a minute, the next person to join starts a fresh meeting and becomes host.

Moderation

The host or a co-host opens Moderation from the People panel (⋯ → Moderation). Its settings never apply to hosts and co-hosts, and they're remembered for the next meeting that host starts (like the waiting room).

  • When people join: Microphone off / Camera off. People join muted and / or with their camera off and are told why. It's only the start: they can turn them on themselves, and their own preferences are kept for other meetings.
  • Let participants share their screen. When off, only hosts and co-hosts can share. This is enforced by LiveKit (participant permissions), so a screen that is being shared stops right away and other participants' Share screen buttons say why they don't work. Someone made co-host or host can share again; someone who loses the role can't.
  • Let participants send chat messages. When off, only hosts and co-hosts can write (messages and files), e.g. for announcements. Participants see a disabled chat box.
  • Let participants send private messages. When off, participants can still write to everyone, but privately only to hosts and co-hosts (e.g. to ask a question).
  • Let participants draw on shared screens. When off, only hosts and co-hosts get the ✏️ pen on screen shares; a participant who is drawing loses it right away.
  • Let participants draw on the whiteboard. When off, only hosts and co-hosts can draw on the whiteboard; participants can still look at it (and export it).
  • Participants are told when screen sharing, chat or drawing is turned off or back on. Every participant's app ignores chat messages and drawings these settings don't allow, so they reach nobody even if sent by a modified client.

Spotlight for everyone

  • The host or a co-host puts someone's camera or screen share (their own included) in the spotlight for everyone with the spotlight button on that video tile (on hover), or ⋮ → Spotlight for everyone next to a name in the People panel (which spotlights the camera). The same button, or ⋮ → Remove spotlight, takes it away.
  • Everyone's layout features that tile, ahead of screen shares and speaker view, with a spotlight badge on it, and everyone is told who's in the spotlight. A new spotlight replaces everyone's own pin; anyone can still pin something else for themselves afterwards, and unpinning brings the spotlight back.
  • It's kept in the LiveKit room metadata, so people who join later see it too. While the person (or their screen share) isn't in the meeting it's ignored, and it comes back if they return.

Whiteboard

  • The host or a co-host opens the Whiteboard (🖍️ in the control bar) for everyone. It takes the stage's place, with the video tiles in a strip beside it (below it on small screens), and everyone is told. Clicking it again offers Close for everyone or Hide for me; participants get the button while it's open, to hide or show it for themselves.
  • It's Excalidraw: shapes, arrows, text, freehand, images (pasted or dropped), everyone's pointers with their names, and Save as image (PNG / SVG) or Export (.excalidraw file) from its menu. Embedded web pages are off, and nothing is loaded from Excalidraw's servers.
  • Changes go to everyone over LiveKit data messages, so there's no extra server. The board lives only in the participants' browsers: someone who joins (or opens it) later gets it from the people who've been in the meeting longest, closing and reopening it keeps it, and it's gone when everyone has left. Whether it's open is kept in the LiveKit room metadata.
  • Moderation can let only hosts and co-hosts draw. Turn the whiteboard off on the server with WHITEBOARD_ENABLED=false. It isn't part of recordings.

Waiting room

  • The host turns the waiting room on or off with the Room access button (the dialog that also sets the room password). The host's choice is remembered and applied to the next meeting they start.
  • While it's on, guests who open the invite link (and enter the password, if the room is locked) see Asking to join… until the host decides. The host gets a chime and a pop-up (Ann wants to join with Admit / Deny, or 3 people want to join with View / Admit all), and the People panel lists everyone waiting.
  • Guests who are turned away see The host didn't let you in. Guests who cancel or close the tab disappear from the host's list. Turning the waiting room off lets everyone who is waiting in.
  • Removed participants have to ask again, so the waiting room also keeps them out.
  • With host sign-in, signed-in hosts skip the waiting room. Waiting requests are kept in the app's memory (like rate limits), and names are checked again when someone is admitted, so names stay unique.

Webinar mode

For large audiences (like Zoom Webinars, Teams town halls or Meet's view-only attendees): hosts and invited speakers are on stage, everyone else watches.

  • The host or a co-host turns webinar mode on or off with the Room access button. Like the waiting room, the choice is remembered and applied to the next meeting that host starts, and everyone sees a Webinar tag in the header while it's on.
  • While it's on, people who join (or are let in from the waiting room) are attendees: their LiveKit token has no publish rights, so they have no microphone, camera or screen share buttons and no video tile, and they can't draw on shared screens or the whiteboard. They see and hear everyone on stage, chat (as the moderation settings allow), send reactions and raise their hand. In the People panel they're listed after everyone on stage, with an 👁 badge.
  • Hosts and co-hosts bring an attendee on stage with ⋮ → Invite to stage in the People panel (raised hands are listed first); this lowers their hand, gives them publish rights (screen sharing as the moderation settings allow) and they're told to turn on their microphone or camera. ⋮ → Move to audience takes someone on stage back to the audience: LiveKit stops their microphone, camera and screen share right away.
  • Hosts and co-hosts are always on stage: making an attendee co-host or host brings them on stage, and they can't be moved to the audience. With host sign-in, signed-in hosts join on stage.
  • Turning webinar mode on only affects people who join afterwards (move others to the audience one by one); turning it off brings every attendee on stage.
  • Attendees joining and leaving aren't announced (no toast, chime or chat entry), and only hosts and co-hosts are told when someone raises their hand, so a large audience doesn't flood everyone.
  • Being on stage lasts for the session: someone who refreshes or rejoins is an attendee again until brought back on stage. Attendees are still participants for LiveKit, so they count toward LiveKit's room.max_participants (livekit.yaml).

End-to-end encryption (optional)

For meetings the server must not see or hear: everyone's browser encrypts audio, video, screen shares, chat, files, reactions and the whiteboard (LiveKit E2EE, media and data channels) before sending them, and decrypts what it receives. LiveKit only relays what it can't read.

  • Whoever starts the meeting turns End-to-end encryption on in the lobby, before joining. That puts a new random key in the address bar's fragment: /?room=my-room#key=.... Browsers never send the fragment to a server, so the key never reaches the app or LiveKit. It's chosen once, when the meeting starts, and stays for the whole meeting.
  • The invite link, its QR code, the calendar invitation and the "Your meeting's ready" card include the key, and everyone sees an Encrypted tag in the header. Share the link only with people who should get in: anyone with it can join (the password and waiting room still apply).
  • Someone who opens the meeting without the key (e.g. typing the room name) is told to open the full invite link instead of joining a meeting they couldn't see or hear. A link with a key for a meeting that isn't encrypted is refused too, until they turn encryption off, so nobody joins in the clear while expecting encryption. Someone with a different key (an old or mistyped link) can't decrypt anything; they're told whose media they can't decrypt.
  • The server can't record (Egress), stream or caption an encrypted meeting: those buttons aren't offered and the API refuses them. Recording in the browser still works, as the host's browser has the decrypted meeting (uploaded to the server, that recording is no longer end-to-end encrypted).
  • Single sign-on keeps the key in the tab (sessionStorage) while it visits the provider, so the fragment never reaches the provider's page.
  • It needs a browser with encoded transforms: current Chrome, Edge, Firefox and Safari. The lobby says so when a browser can't.
  • The room names and display names, who is in the meeting and when, are still known to the server, as with any end-to-end encrypted meeting app.

Host sign-in (optional)

By default anyone can start a meeting. On a public server you can restrict that to known hosts with shared passwords (HOST_USERS), single sign-on, or both:

Bash
# .env
HOST_USERS=alice:change-me-please,bob:another-strong-password
  • Hosts click Host sign in in the lobby. The session is a signed, HttpOnly cookie (valid for HOST_SESSION_HOURS), so no token ever appears in URLs.
  • Only signed-in hosts can start a meeting (and therefore become host, lock, record or stream it).
  • Guests need no account. They open the invite link and can join only while a host (or co-host) is in the meeting; until then the lobby shows Waiting for the host… and joins automatically. If the host leaves, guests already in the call stay, but new guests wait until a host is back.
  • A signed-in host who joins a meeting whose host has left becomes its new host (the room password is kept). Signing out also ends host rights: a signed-out browser is treated as a guest.
  • Remove a user from HOST_USERS (and restart) to revoke their sessions. Failed sign-ins are rate limited (10 per 15 minutes per IP).
  • To keep passwords out of .env in plain text, hash them: npm run hash-password (or docker compose run --rm app node src/cli/hash-password.ts) asks for one and prints scrypt:...; use that as the password, e.g. HOST_USERS=alice:scrypt:<salt>:<hash>. Plain and hashed passwords can be mixed.

Single sign-on (OIDC)

Hosts can also sign in with your organization's accounts through any OpenID Connect provider: Google, Microsoft Entra ID, Keycloak, Okta, Authentik, Zitadel... It works on its own or next to HOST_USERS.

  1. Register a web application at the provider with the redirect URI https://<your app domain>/api/auth/oidc/callback.
  2. Configure the app:

    Bash
    # .env
    OIDC_ISSUER=https://accounts.google.com
    OIDC_CLIENT_ID=1234567890-abc.apps.googleusercontent.com
    OIDC_CLIENT_SECRET=GOCSPX-...
    OIDC_PROVIDER_NAME=Google
    # Who may host: exact emails/usernames, "@domain" for a whole domain, or "*" for anyone the provider signs in.
    OIDC_ALLOWED_USERS=@example.com,alice@gmail.com
    
Provider OIDC_ISSUER
Google https://accounts.google.com
Microsoft Entra ID https://login.microsoftonline.com/<tenant id>/v2.0 (your tenant, not common)
Keycloak https://<keycloak>/realms/<realm>
Others The URL whose /.well-known/openid-configuration describes the provider (its "issuer" value)
  • The lobby shows Sign in with Google (your OIDC_PROVIDER_NAME). With single sign-on only, Host sign in goes straight to the provider; with HOST_USERS too, the sign-in dialog offers both. After signing in, the host comes back to the lobby (with the room already filled in) and gets the same session cookie as with a password.
  • The host's name is their email address (when the provider says it's verified), otherwise their username at the provider. It must match OIDC_ALLOWED_USERS, which is required; other accounts are sent back with This account isn't allowed to host meetings. Use * only for a provider whose accounts are all yours (e.g. a private Keycloak realm), never with Google or Microsoft.
  • Remove someone from OIDC_ALLOWED_USERS (and restart) to revoke their sessions. Signing out ends the session in the app, not at the provider.
  • The sign-in uses the authorization code flow with PKCE, state and nonce, kept in a signed cookie for 10 minutes; nothing is stored on the server, and the provider's settings are discovered when the first host signs in.
  • Behind a reverse proxy set TRUST_PROXY=true so the app knows its public https:// URL, or set OIDC_REDIRECT_URL to the exact redirect URI. Plain http:// issuers (e.g. a local Keycloak) are accepted outside production only.

Meeting time limit (optional)

The header shows how long the meeting has been running, counted from when it started (so it's the same for everyone, including people who join later). To cap how long a meeting can last, set MAX_MEETING_MINUTES:

Bash
# .env
MAX_MEETING_MINUTES=60
  • Each meeting gets its end time when it starts (kept in the LiveKit room metadata). Everyone is told when it ends as they join, and the end time shows when you hover the timer.
  • 5 minutes and 1 minute before the end everyone gets a warning, and the timer counts down in red.
  • At the end the server ends the meeting for everyone (like End meeting for all), and anyone in the waiting room is told it ended. The app checks every 15 seconds, so it can run a few seconds over. Someone who opens the link afterwards starts a new meeting.
  • A signed-in host who takes over a meeting keeps its end time. Changing the setting only affects meetings started afterwards. 0 or empty means no limit (the default).