Skip to content

feat(core): recording parameter passthrough to breakouts - #25172

Merged
antobinary merged 4 commits into
bigbluebutton:v3.0.x-developfrom
ramonlsouza:breakout-rec
May 28, 2026
Merged

antobinary merged 4 commits into
bigbluebutton:v3.0.x-developfrom
ramonlsouza:breakout-rec

Conversation

@ramonlsouza

@ramonlsouza ramonlsouza commented May 27, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Applies the following changes to breakout room creation:

  • Pass through autoStartRecording from parent room to breakout room
  • Pass through allowStartStopRecording from parent room to breakout room
  • Introduces new option in settings.yml lockBreakoutRecordingSetting (default: false) to remove the ability for a moderator to disable breakout room recording when setting up breakout rooms

@coderabbitai

coderabbitai Bot commented May 27, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR threads parent meeting recording settings into breakout room creation by adding autoStartRecording and allowStartStopRecording to the BreakoutRoomDetail message, propagating them through Java/message handlers, and exposing a frontend lockBreakoutRecording flag that forces and disables the record checkbox in the create-breakout-room UI.

Sequence Diagram

sequenceDiagram
  participant Parent as Parent Meeting
  participant Handler as CreateBreakoutRoomsCmdMsgHdlr
  participant Schema as BreakoutRoomDetail
  participant MeetingService as MeetingService / Msg GW
  participant Frontend as CreateBreakoutRoom UI

  Parent->>Handler: read recordProp (autoStartRecording, allowStartStopRecording)
  Handler->>Schema: include autoStartRecording, allowStartStopRecording in BreakoutRoomDetail
  Handler->>MeetingService: forward CreateBreakoutRoom with recording fields
  MeetingService->>Frontend: CreateBreakoutRoom message contains recording fields
  Frontend->>Frontend: read lockBreakoutRecording && isBreakoutRecordable -> forceRecord
  Frontend->>Frontend: initialize record checkbox and set disabled when forceRecord
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly describes all changes: passing through autoStartRecording and allowStartStopRecording from parent to breakout rooms, and introducing lockBreakoutRecordingSetting option.
Title check ✅ Passed The title accurately describes the main change: passing recording parameters from parent meeting to breakout rooms across the codebase.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala`:
- Around line 113-115: In CreateBreakoutRoomsCmdMsgHdlr, do not trust
msg.body.record directly when constructing BreakoutRoomDetail; compute an
effectiveRecord server-side that enforces the lockBreakoutRecording policy: if
the meeting/props lockBreakoutRecording is enabled, derive effectiveRecord from
the server-side settings (e.g., liveMeeting.props.recordProp.autoStartRecording
and/or allowStartStopRecording) instead of msg.body.record, otherwise fall back
to honoring client intent; then pass this effectiveRecord into the
BreakoutRoomDetail constructor/creation code where msg.body.record is currently
used.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 44c498d0-4df0-4113-8de7-cff8b0173802

📥 Commits

Reviewing files that changed from the base of the PR and between 1c6b1f4 and 5a60753.

📒 Files selected for processing (9)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala
  • bbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/BreakoutMsgs.scala
  • bbb-common-web/src/main/java/org/bigbluebutton/api/MeetingService.java
  • bbb-common-web/src/main/java/org/bigbluebutton/api/messaging/messages/CreateBreakoutRoom.java
  • bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/OldMeetingMsgHdlrActor.scala
  • bigbluebutton-html5/imports/ui/Types/meetingClientSettings.ts
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/component.tsx
  • bigbluebutton-html5/imports/ui/core/initial-values/meetingClientSettings.ts
  • bigbluebutton-html5/private/config/settings.yml

@antobinary antobinary added this to the Release 3.0 milestone May 27, 2026
@ramonlsouza
ramonlsouza requested a review from gustavotrott May 27, 2026 16:11
@antobinary antobinary mentioned this pull request May 27, 2026
16 of 17 tasks
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Actionable comments posted: 0

breakoutRoomLimit: 16
# Allow the presenter role to manage presentations inside breakout rooms
allowPresentationManagementInBreakouts: true
# Set to true to remove the ability to disable recording when setting up breakout rooms

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Set to true to remove the ability to disable recording when setting up breakout room
->
perhaps?
# Set to true to remove the ability for the breakout recording policy to be changed by the moderator at breakout creation time

@ramonlsouza
ramonlsouza requested a review from antobinary May 28, 2026 13:59
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Actionable comments posted: 0

# Allow the presenter role to manage presentations inside breakout rooms
allowPresentationManagementInBreakouts: true
# Set to true to remove the ability for the breakout recording policy to be changed by the moderator at breakout creation time
lockBreakoutRecording: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest the name lockBreakoutRecordingSetting, it sounds clearer to me because the config is not disabling the feature itself, but preventing moderators from changing the setting value.

@ramonlsouza
ramonlsouza requested a review from gustavotrott May 28, 2026 15:02
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Actionable comments posted: 0

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary antobinary changed the title breakouts: recording parameter passthrough feat(core): recording parameter passthrough to breakouts May 28, 2026
@antobinary
antobinary merged commit 6e4cce3 into bigbluebutton:v3.0.x-develop May 28, 2026
35 checks passed
ramonlsouza pushed a commit that referenced this pull request Nov 4, 2026
lockBreakoutRecordingSetting arrived on 3.0 with the recording parameter
passthrough to breakouts (#25172): with it on, the Record option of the
create-breakout form is forced on and the moderator cannot switch it off,
as long as the meeting allows breakout recording.

4.0 had already replaced that form with the sidebar panel (#24691), so the
forward merge of #25172 brought the settings.yml key, its comment, the type
and the default, but not the behaviour: the panel never read the key and
settings.yml kept promising that the recording policy could be locked.

Port the 3.0 semantics: forceRecord = lockBreakoutRecordingSetting &&
isBreakoutRecordable seeds the record state, disables the switch and is
re-applied when the meeting's recording policy arrives after the first
render. The switch renderer passes the new disabled flag through.

Add a Playwright test that drives the setting through the harness's
client-side settings override on a meeting created with
breakoutRoomsRecord=true (the bbb-web default is false, which hides the
option altogether) and checks the switch is on and disabled. It fails on
the 4.0.1 client and passes with this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants