Skip to content

docs: Document events.xml LayoutBroadcastedEvent addition - #24286

Merged
antobinary merged 4 commits into
v3.0.x-developfrom
antobinary-patch-7
Apr 22, 2026
Merged

antobinary merged 4 commits into
v3.0.x-developfrom
antobinary-patch-7

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Adds information about the newly added LayoutBroadcastedEvent

Closes Issue(s)

Closes # none

Motivation

Addendum to #24254

@antobinary antobinary added this to the Release 3.0 milestone Nov 27, 2025
@coderabbitai

coderabbitai Bot commented Nov 27, 2025 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: cc656be2-55b9-44b4-98d8-aabc03e47c30

📥 Commits

Reviewing files that changed from the base of the PR and between bfdc01f and aeeaa1b.

📒 Files selected for processing (1)
  • docs/docs/development/recording.md

Walkthrough

Added documentation for a new event, LayoutBroadcastedEvent, which is emitted when a presenter changes the layout while push layout is enabled. The event entry and its attributes (timestampUTC, focusedCamera, presentationVideoRate, date, cameraPosition, presentationIsOpen, layout, isResizing) were added to docs/docs/new-features.md and docs/docs/development/recording.md.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately describes the main change: documenting the LayoutBroadcastedEvent addition in events.xml, which aligns with the file-level summaries showing documentation additions to new-features.md and recording.md.
Description check ✅ Passed The description is directly related to the changeset, explaining that it adds information about the newly added LayoutBroadcastedEvent and noting it is an addendum to PR 24254.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch antobinary-patch-7

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.

@sonarqubecloud

Copy link
Copy Markdown

@kepstin

kepstin commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

I know the document doesn't cover this for existing events, but I'd really like a description of what the various fields in this event mean.

Some specifics:

  • I regularly see LayoutBroadcastedEvent where the only change is to <presentationVideoRate>, which is a smallish floating-point number. What does it mean?
  • What are the different possible values for <cameraPosition>?
  • What are the different possible values for <layout>?
  • What are the different possible values or value format for <focusedCamera>? If it indicates which camera currently has focus, is enough information provided that I'll be able to match it up with the StartWebRTCShareEvent for the camera?
  • Under what circumstances will <isResizing> be true?

@germanocaumo

Copy link
Copy Markdown
Contributor

I know the document doesn't cover this for existing events, but I'd really like a description of what the various fields in this event mean.

Some specifics:

  • I regularly see LayoutBroadcastedEvent where the only change is to <presentationVideoRate>, which is a smallish floating-point number. What does it mean?
  • What are the different possible values for <cameraPosition>?
  • What are the different possible values for <layout>?
  • What are the different possible values or value format for <focusedCamera>? If it indicates which camera currently has focus, is enough information provided that I'll be able to match it up with the StartWebRTCShareEvent for the camera?
  • Under what circumstances will <isResizing> be true?

@kepstin

  • presentationVideoRate - Float: number between 0 and 1 indicating the ratio of the camera dock size relative to window size (width when horizontal - left or right, and height when vertical - top or botton).
  • cameraPosition - String: one of contentTop, contentRight, contentBottom, contentLeft, sidebarContentBottom
  • layout - String: one of CUSTOM_LAYOUT, SMART_LAYOUT, PRESENTATION_FOCUS, VIDEO_FOCUS (grid layout)
  • isResizing - Boolean: indicate if the presenter is in the middle of resizing the camera/presentation size (dragging the divider)

@kepstin

kepstin commented Dec 10, 2025

Copy link
Copy Markdown
Contributor
  • presentationVideoRate - Float: number between 0 and 1 indicating the ratio of the camera dock size relative to window size (width when horizontal - left or right, and height when vertical - top or botton).

Is this a typo? it sounds like it should be called presentationVideoRatio not presentationVideoRate.

@antobinary
antobinary changed the base branch from v3.0.x-release to v3.0.x-develop April 22, 2026 19:13
@antobinary

Copy link
Copy Markdown
Member Author

Is this a typo? it sounds like it should be called presentationVideoRatio not presentationVideoRate.

30 instances of presentationVideoRate
0 instances of presentationVideoRatio
in the code of BBB 3.0.25

@antobinary
antobinary merged commit f38734b into v3.0.x-develop Apr 22, 2026
6 of 8 checks passed
@antobinary
antobinary deleted the antobinary-patch-7 branch April 22, 2026 19:28
@sonarqubecloud

Copy link
Copy Markdown

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