Breakout Rooms: Connected Meetings, Presets, Permissions, and SDK
How Cloudflare RealtimeKit breakout rooms (connected meetings) work, preset permissions hosts need, and SDK or UI Kit steps to create, assign, and close rooms.
This page summarizes Cloudflare RealtimeKit documentation on breakout rooms, also called connected meetings: splitting a main video session into smaller groups, then bringing participants back together. It covers the core SDK guide, the UI Kit walkthrough, and related Meeting concepts.
Breakout rooms and Connected Meetings: what they are for
Section titled “Breakout rooms and Connected Meetings: what they are for”Breakout rooms let meeting participants split into smaller groups for targeted discussions and collaboration. In RealtimeKit they are the same capability as Connected Meetings: linked meeting spaces participants can switch between during a session.
Breakout rooms allow participants of a meeting to split into smaller groups for targeted discussions and collaboration. … In RealtimeKit, breakout rooms are created as a separate meeting. Each breakout room is an independent meeting and can be managed like any other RealtimeKit meeting. RealtimeKit provides a set of SDK APIs to create, manage, and switch between breakout rooms.
— Cloudflare, Breakout Rooms (core)
Connected Meetings are useful for workshops, classrooms, parallel discussions, or any scenario where the main meeting splits into smaller groups before coming back together, as described in Meeting concepts. Virtual classroom scenarios on the RealtimeKit overview include splitting a class into discussion rooms with automatic or manual assignment.
Key product capabilities from the docs include: managing host and participant privileges via presets; hosts creating rooms, assigning people, starting and closing breakouts, and switching rooms; participants using chat, polls, and mute/unmute in each room; and recording each breakout session individually like any other RealtimeKit meeting (Breakout Rooms (core)).
How breakout sessions relate to the parent meeting
Section titled “How breakout sessions relate to the parent meeting”Each breakout room functions as an independent meeting. When someone switches from the main meeting to a breakout, audio and video automatically follow that breakout session; mute/unmute and start/stop video work the same as in the main meeting.
When the breakout session ends, audio and video switch back to the main meeting. If video or the microphone was on in the breakout, it stays on when the participant returns to the main session (Breakout Rooms (core)).
Roles in a breakout are not hard-coded labels in the SDK; they are driven by presets (Breakout Rooms (core)).
Connected Meetings permissions: presets hosts and participants need
Section titled “Connected Meetings permissions: presets hosts and participants need”A preset is a set of permissions and UI configurations applied to hosts and participants; it determines look, feel, and behavior in the breakout flow (Breakout Rooms (core)). For Connected Meetings you must configure the right permissions before creation APIs succeed.
From Meeting concepts, Connected Meetings movement is gated by three permission ideas:
| Permission (docs term) | Who typically needs it | What it allows |
|---|---|---|
| Full Access | Host preset | Create, update, and delete connected meetings |
| Switch Connected Meeting | Host and/or participants (your choice) | Move between child (breakout) meetings |
| Switch to Parent Meeting | Participants (optional) | Return to the main (parent) meeting |
The host preset should have Full Access in Connected Meetings so the host can create breakout rooms, assign participants, start and close breakouts, and switch between rooms (Breakout Rooms (core)).
For participants you can grant Switch Connected Meetings (move between breakouts) and Switch to Parent Meeting (return to the main room) (Breakout Rooms (core)).
Validate permissions in code before calling create APIs
Section titled “Validate permissions in code before calling create APIs”Use meeting.connectedMeetings and meeting.self.permissions.connectedMeetings to check support, whether breakouts are already active, and whether the local user may alter rooms or switch:
const areBreakoutRoomsSupported = meeting.connectedMeetings.supportsConnectedMeetings;const areBreakoutRoomsActive = meeting.connectedMeetings.isActive;const hasPermissionToCreateBreakoutRooms = meeting.self.permissions.connectedMeetings.canAlterConnectedMeetings;const hasPermissionToSwitchToParentMeeting = meeting.self.permissions.connectedMeetings.canSwitchToParentMeeting;const hasPermissionToSwitchToConnectedMeeting = meeting.self.permissions.connectedMeetings.canSwitchConnectedMeetings;The same checks appear for Kotlin, Swift, and React hooks in Breakout Rooms (core). In React, canAlterBreakoutRooms covers create, rename, delete rooms and moving any participant; canSwitchRooms is self-move between breakouts; canReturnToParent is return to the parent meeting.
SDK: create breakout rooms, assign participants, and close sessions
Section titled “SDK: create breakout rooms, assign participants, and close sessions”After presets are correct, the host workflow on meeting.connectedMeetings is: create child meetings, assign participants (optionally with per-participant presets), listen for state updates, and delete meetings to close breakouts and force participants back to the main room.
Create breakout rooms with createMeetings
Section titled “Create breakout rooms with createMeetings”Creation returns basic meeting metadata (id, title) used when moving participants:
const breakoutRooms = await meeting.connectedMeetings.createMeetings([ { title: "Breakout Room 1" }, { title: "Breakout Room 2" }, { title: "Breakout Room 3" },]);See Breakout Rooms (core) for Kotlin, Swift, and title-list variants.
Move participants between parent and breakout meetings
Section titled “Move participants between parent and breakout meetings”Call getConnectedMeetings() to read meeting IDs and participant IDs, then moveParticipants(sourceMeetingId, targetMeetingId, participantIds):
const breakoutRoomsInfo = await meeting.connectedMeetings.getConnectedMeetings();const response = await meeting.connectedMeetings.moveParticipants( "SOURCE_MEETING_ID", "TARGET_MEETING_ID", ["PARTICIPANT_ID_1", "PARTICIPANT_ID_2"]);Use moveParticipantsWithCustomPreset when each participant should enter a room under a specific presetId (Breakout Rooms (core)).
To move the local participant, use the same APIs with the local participant’s ID. The local user needs canSwitchConnectedMeetings to switch between breakouts or canSwitchToParentMeeting to return to the parent when the request is from a non-host participant (Breakout Rooms (core)).
Close breakout rooms with deleteMeetings
Section titled “Close breakout rooms with deleteMeetings”Closing deletes the child meetings and sends participants in those rooms back to the main room:
await meeting.connectedMeetings.deleteMeetings([ "MEETING_ID_TO_CLOSE_1", "MEETING_ID_TO_CLOSE_2",]);This triggers a stateUpdate event (or platform-specific onStateUpdate). You can also read meeting.connectedMeetings.meetings and meeting.connectedMeetings.parentMeeting (Breakout Rooms (core)).
UI Kit: host flows and breakout components
Section titled “UI Kit: host flows and breakout components”If you use RealtimeKit’s prebuilt UI instead of a fully custom surface, the UI Kit breakout rooms page mirrors the same model: create rooms, assign automatically or manually, then start the breakout.
Start breakout rooms from the default meeting UI
Section titled “Start breakout rooms from the default meeting UI”In the RealtimeKit meeting UI, open Breakout Rooms, choose how many rooms to create, then either:
- Assign automatically — use the shuffle control so participants split evenly across rooms, optionally rename rooms, adjust assignments, then Start Breakout and confirm.
- Assign manually — select participants, assign per room, then Start Breakout and confirm.
Mobile flows use the same steps with tap instead of click (Breakout Rooms (UI Kit)). After API setup, you still integrate breakouts into your app with the RealtimeKit SDK (Breakout Rooms (UI Kit)).
Embed breakout managers and toggles
Section titled “Embed breakout managers and toggles”| Component | Platform | Role |
|---|---|---|
rtk-breakout-rooms-manager / RtkBreakoutRoomsManager |
Web components, React | Full management UI; set meeting on the element or prop |
rtk-breakout-room-manager / RtkBreakoutRoomManager |
Web components, React | Room manager with allowDelete, assigningParticipants, defaultExpanded |
rtk-breakout-rooms-toggle / RtkBreakoutRoomsToggle |
Web, React | Opens breakout UI; supports size, variant, iconPack, meeting |
RtkBreakoutRoomsManager (React Native) |
Mobile | Full-screen modal: create, assign, rename, shuffle, start, update, or close; participants without alter permissions see a simplified switcher |
RtkBreakoutRoomsToggle (React Native) |
Mobile | Opens/closes the manager; hidden if the user lacks both canAlterConnectedMeetings and canSwitchConnectedMeetings |
Angular wrappers are documented at rtk-breakout-rooms-manager (Angular), rtk-breakout-room-manager (Angular), and rtk-breakout-rooms-toggle (Angular).
On React Native, visibility of the full manager is tied to activeBreakoutRoomsManager in UI state; use RtkBreakoutRoomsToggle or set that state directly (RtkBreakoutRoomsManager (React Native)).
Host-only camera, mic, and chat overrides for participants are configured in host presets via Host Controls and the remote participants core topic—not breakout-specific, but relevant when designing who can speak in small groups.
Common mistakes when integrating breakout rooms
Section titled “Common mistakes when integrating breakout rooms”- Skipping preset setup — calling
createMeetingswithout Full Access on the host preset or without participant switch permissions produces errors (Breakout Rooms (core)). - Wrong meeting IDs in
moveParticipants— always derivesourceMeetingIdandtargetMeetingIdfromgetConnectedMeetings()based on where each participant currently is (Breakout Rooms (core)). - Expecting the toggle for everyone —
RtkBreakoutRoomsTogglehides when the local participant has neither alter nor switch Connected Meetings permission (RtkBreakoutRoomsToggle (React Native)). - Assuming media resets on return — mic and camera state persists when leaving a breakout (Breakout Rooms (core)).
- Forgetting UI state after API-only setup — API configuration alone does not surface controls until you wire SDK or UI Kit integration (Breakout Rooms (UI Kit)).
For custom UIs, the docs point to UI Kit components, states, and Build Your Own UI next steps from the core breakout page.
How to check this on your site
Section titled “How to check this on your site”-
Confirm host and participant presets include the Connected Meetings permissions from Meeting concepts (Full Access for hosts; Switch Connected Meeting and optionally Switch to Parent Meeting for participants).
-
In a test meeting, log
meeting.connectedMeetings.supportsConnectedMeetings,isActive, andmeeting.self.permissions.connectedMeetingsflags before calling create APIs (Breakout Rooms (core)). -
Create rooms with
createMeetings, assign at least one participant viagetConnectedMeetingsandmoveParticipants, then verify audio/video switch as described in Breakout Rooms (core). -
Close with
deleteMeetingsand confirm participants return to the parent meeting andstateUpdate/onStateUpdatefires (Breakout Rooms (core)). -
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match the linked Cloudflare docs, or you need a clarification, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.