Skip to content

[3.0 port]fix: exclude audio-only tiles from SFU subscription and plugin buttons - #24969

Merged
antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
ramonlsouza:bp-24957
Apr 24, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
ramonlsouza:bp-24957

Conversation

@ramonlsouza

Copy link
Copy Markdown
Member

What does this PR do?

backports #24957 changes to BBB 3.0.x:

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.

- 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
@ramonlsouza ramonlsouza added this to the Release 3.0 milestone Apr 24, 2026
@coderabbitai

coderabbitai Bot commented Apr 24, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

The pull request excludes VIDEO_TYPES.AUDIO_ONLY streams from video stream processing in two locations. The video service now filters out AUDIO_ONLY streams alongside existing GRID exclusions when determining which streams to connect or disconnect. The video list item component conditionally gates camera helper button rendering to skip AUDIO_ONLY streams while preserving other rendering behavior.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description directly relates to the changeset, clearly explaining the two issues fixed and referencing the original PR being backported.
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.
Title check ✅ Passed The title accurately describes the main changes: excluding audio-only tiles from SFU subscription (via getStreamsToConnectAndDisconnect) and plugin buttons (via skipping renderCameraHelperButtons).

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

@sonarqubecloud

Copy link
Copy Markdown

@antobinary antobinary changed the title fix: exclude audio-only tiles from SFU subscription and plugin buttons [3.0 port]fix: exclude audio-only tiles from SFU subscription and plugin buttons Apr 24, 2026
@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary
antobinary merged commit 39b390a into bigbluebutton:v3.0.x-develop Apr 24, 2026
35 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