Skip to content

fix: exclude audio-only tiles from SFU subscription and plugin buttons - #24957

Merged
prlanzarin merged 1 commit into
bigbluebutton:v4.0.x-releasefrom
AtilaU19:task-2651
Apr 24, 2026
Merged

prlanzarin merged 1 commit into
bigbluebutton:v4.0.x-releasefrom
AtilaU19:task-2651

Conversation

@AtilaU19

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes two issues where audio-only tiles (introduced in #24574) were being treated as full camera containers:

  • 2301 errors in bbb-webrtc-sfu console: getStreamsToConnectAndDisconnect in service.ts was not filtering out AUDIO_ONLY streams when building the list of camera IDs to subscribe.
  • Popout plugin button shown on audio-only tiles renderCameraHelperButtons() in video-list-item/component.tsx was called unconditionally for all stream types. Plugin helper buttons (such as the media popout button from bbb-plugin-media-popout) were rendered on audio-only tiles even though there is no actual video stream to pop out.

Closes Issue(s)

Closes None

How to test

  1. Join a meeting as moderator, minimize presentation (unified layout active)
  2. Join as User A — share webcam
  3. Join as User B and User C — join with microphone only and speak
    (audio-only tiles should appear for B and C)
  4. Open browser DevTools console:
    • Expected: no 2301 errors from bbb-webrtc-sfu
  5. Hover over User B or C audio-only tile:
    • Expected: no popout button is shown

More

Screencast.from.22-04-2026.15.45.32.webm

- Exclude AUDIO_ONLY streams from getStreamsToConnectAndDisconnect so they are not subscribed as cameras in bbb-webrtc-sfu
- Skip rendering plugin camera helper buttons (e.g. popout) for AUDIO_ONLY stream tiles
@coderabbitai

coderabbitai Bot commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 0fa7c3d8-0cce-42e5-9246-655bd29f0b69

📥 Commits

Reviewing files that changed from the base of the PR and between ab2a686 and 860e05b.

📒 Files selected for processing (2)
  • bigbluebutton-html5/imports/ui/components/video-provider/service.ts
  • bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/component.tsx

Walkthrough

These changes modify how audio-only video streams are handled throughout the video provider component. The service layer now excludes VIDEO_TYPES.AUDIO_ONLY streams from camera stream filtering logic alongside the existing VIDEO_TYPES.GRID exclusion. Correspondingly, the video list item component no longer renders camera helper buttons for audio-only streams. Both alterations are targeted filtering adjustments affecting stream processing and UI rendering.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main changes: excluding audio-only tiles from SFU subscription and hiding plugin buttons on such tiles.
Description check ✅ Passed The description is well-detailed and directly addresses the changeset, explaining both issues fixed, the technical impact, and providing clear testing steps.
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.

✏️ 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.

@prlanzarin prlanzarin added this to the Release 4.0 milestone Apr 22, 2026
@prlanzarin

Copy link
Copy Markdown
Member

Candidate for 3.0 backport

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary antobinary mentioned this pull request Apr 24, 2026
6 of 9 tasks
@prlanzarin
prlanzarin merged commit d4eed7a into bigbluebutton:v4.0.x-release Apr 24, 2026
56 of 59 checks passed
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