Skip to main content

Persistent video rooms — create, re-open, embed

A persistent video room is a long-lived room on Orbit Media that you create once and reuse indefinitely. Unlike a standard scheduled room, which expires four hours after creation unless it is extended, a persistent room carries a 10-year expiry and re-opens automatically when the next participant joins. For the one-paragraph term definition, see the Persistent Room entry in the glossary. Use a persistent room for fixed destinations such as:
  • an embedded “video call us” button on your website
  • a permanent sales or support queue
  • a department drop-in room that agents and visitors reuse throughout the day

What makes a room persistent

A room becomes persistent when settings.persistent is set to true. This happens in two places:
  • the Create Room toggle in the dashboard under Voice → Video → Rooms
  • POST /api/v1/video/rooms-scheduled with persistent: true
When a room is created as persistent, the platform applies these rules: The 10-year expiry keeps the expires_at column non-NULL, which the re-open gate requires. The sweeper does not treat the room as abandoned when it empties; it marks the room ended with reason room_finished, which the join route recognizes as reversible.

Create a persistent room from the dashboard

  1. Open Voice → Video → Rooms.
  2. Click New room.
  3. Fill in the room name and any other settings — waiting room, recording, participant cap.
  4. Toggle Persistent room.
  5. Save the room.
The room appears in the Rooms list with the persistent badge. It is immediately available for joins and widget assignment.

Create a persistent room over the API

The response returns the room object, including expires_at set 10 years in the future. You cannot set max_duration_minutes or recurrence_rule on the same request; the API returns a 422 if either is present.

Re-open after the room empties

When the last participant leaves a persistent room, the SFU closes the media room after five minutes of emptiness. The platform expiry sweeper may also mark the database row ended with reason room_finished. Either way, the next call to POST /api/v1/video/rooms-scheduled/:id/join re-opens the room lazily. The join route recognizes a room_finished close as reversible and, when the room is persistent and within its expires_at headroom, recreates the media room and admits the participant. Existing guest invites and the widget continue to work across re-opens.

Wire the room into the consultation widget

The Voice → Video → Widget builder only lists persistent rooms. This is intentional: a drop-in “video call us” button needs a room that survives between calls.
  1. Open Voice → Video → Widget.
  2. Pick a preset — queued visitor for a waiting-room flow, or direct drop-in for immediate join.
  3. Under Room, select one of your persistent rooms.
  4. Copy the generated iframe or script snippet and paste it into your site.
For the full embed flow, see Embed a video consultation button.

Limits that apply to a persistent room

Whether recurring invitees keep the same join URL

Yes. A re-open does not mint a new room. When the last participant leaves, the SFU reclaims the media room and the row may flip to ended with reason room_finished; the next join recognizes that reason as reversible, regenerates the access token against the same room id, and lazily recreates the media room. Existing guest invites and the widget URL are stable across re-opens, so a link you sent last month still lands in the same room. A room_finished close is reversible; operator_end and timeout are not. If an operator ends the room explicitly, or the sweeper closes it with timeout, the room is permanently closed and the join URL returns 409.

Whether re-activation bills a fresh room creation

No. Re-opening a persistent room is not a chargeable room creation — you are billed for participant minutes when each session ends, not for the act of re-opening the room. A room that empties and re-opens ten times in a day incurs ten session-end usage events (one per room_finished close), each metered on the participant minutes that session actually used; no per-activation fee is charged. The room stays free to re-open until its expires_at passes, at which point it is no longer re-openable.

Recording retention on a persistent room

Each session a persistent room produces — including an empty-room session that opened and closed with no participant traffic — is a video_room_session row subject to the same cross-cutting retention as any other video session. The video_room_retention_days setting (minimum 7 days, default 90 plus a two-week grace window) documented under Limits on Video: rooms, embeds, recording, and broadcast and on the Video room history page governs how long those session rows, their recordings, and their transcripts are kept. A persistent room does not introduce a separate retention policy: empty-room sessions inherit video_room_retention_days like any other session, and they are swept on the same schedule.

Lifecycle on the SFU

  • While participants are present, the media room stays live.
  • When the room becomes empty, the SFU reclaims the media room after a 5 min empty timeout.
  • The database row may become ended with reason room_finished.
  • The next join regenerates the access token, lazily recreates the media room, and places the participant according to the room’s waiting-room and tier settings.
This means a persistent room consumes SFU resources only while it is active, not for the full 10-year lifetime.

API reference

  • POST /api/v1/video/rooms-scheduled — create a persistent room with persistent: true
  • POST /api/v1/video/rooms-scheduled/:id/join — join or re-open a persistent room
  • Video API reference — full scheduled-room endpoint surface