Repository navigation
iteration: BBB 3.0.25 normal-priority - #24771
Conversation
Real-time media components currently rely on participant "meshing," where all participants see and hear each other. This prevents use cases requiring asymmetric media relationships, such as proctoring, huddles, or embedded breakout rooms. While audio groups exist for audio asymmetry, cameras and screen sharing lack a similar mechanism. Extend the audio groups mechanism to support cameras and RTC content, renaming the feature to "MediaGroups." A MediaGroup is a logical unit defined by an identifier, creator ID, media type, lock status, and lists of broadcasters and viewers. Groups have the following business logic: - Broadcasters' streams are only visible to viewers of that group. - Viewers filter visible streams to show only group broadcasters. - Users can participate in multiple groups simultaneously in any capacity. - Absence of a group assignment defaults to the "public" space. - Locked groups are restricted to moderator manipulation. Expose these actions to clients via GraphQL mutations. The `recorded` attribute is included in the MediaGroup structure for future use, though its functionality is not yet implemented.
Virtual public groups are not sufficient when participants must hear/see
an union of users who are in public (i.e.: no groups) and ones that are
in specific media groups. This is by definition, since treating public
groups as the "absence of groups" makes things mutually exclusive here.
Add explicit, reserved public groups for the basic media types: audio,
camera and screenshare. All of them have static IDs
`public:${mediaType}`, and _cannot_ be destroyed nor altered in their
base structure by any user.
Users are automatically added to them at join time, and they can join/leave
those groups in any direction at any time during the meeting.
For the sake of conformity, selective subscription implementations MUST
still treat the absence of groups for an user a them being in the public
group. This preserves the previous virtual public group logic while
allowing for greater flexibility.
Enforce public media group states server-side for users on relevant triggers (group creation, destruction, user join/leave/update). This makes it easier to prevent users from being group-orphaned. Rather than having media group consumers do this, the server guarantees a clean state once users aren't part of specific media groups anymore.
…tUserMediaGroupState
The media groups API uses three separate imperative operations (join,
leave, update) to change user media group membership. Multi-group state
transitions required chaining these operations sequentially, while
ordering cannot be reliably guaranteed by neither server or clients.
This creates race conditions where users can end up in inconsistent states
across audio, video and screen sharing groups.
Replace the join/leave/update media group APIs with a single declarative
setUserMediaGroupState API. The client declares their desired media
group state with a varying degree or specificity via the `scope`
parameter.
The scope parameter can be one of:
- "merge": entries merge with existing state. Groups not listed are
untouched; sender=false + receiver=false = removal.
- "byMediaType": entries replace state per mediaType. Only media types
present in entries are affected; others are untouched.
- "all": entries replace entire state. Groups not listed are removed.
Additionally:
- fix: prevent duplicate sender/receiver references in MediaGroups model
- fix: prevent enrolling users in the same public group multiple times unnecessarily
- refactor: remove MediaGroupAddParticipants handlers
- refactor: log media group update evt, count media groups towards user activity and bail out update on replacement scopes if any group fails
By default, the `aresample` filter assumes that the timestamp of the first audio frame it sees is the start of the audio, and the output timestamps will be offset so that point becomes 0 in the output. If the seek point happened to be in a gap where there were no audio frames, this will cause the audio to be earlier than expected. Setting the `first_pts=0` option causes the filter to trim or pad the start of the output audio to preserve the correct offset relative to 0, where 0 is the seek point (set with the `-ss` option).
When inspecting test artifacts, I found an assortment of gstreamer, boost and KMS packages in them that should not be present as they're all Kurento related and should not exist in 3.0. I traced it back to the install-bbb action's "Setup local repository" step, which pulls those dependency packages from an externally-sourced tarball. I do not think any of those are necessary anymore, so this commits remove both the download and installation of the above. List of externally sourced packages: - libx264-152_0.152.2854+gite9a5903-2_amd64.deb - gstreamer1.0-nice_0.1.18-0kurento1.20.04_amd64.deb - libnice10_0.1.18-0kurento1.20.04_amd64.deb - gstreamer1.5-nice_0.1.18-0kurento1.20.04_amd64.deb - gir1.2-nice-0.1_0.1.18-0kurento1.20.04_amd64.deb - libmimic0_1.0.4-2.3_amd64.deb - openwebrtc-gst-plugins_0.10.0-1kurento1.20.04_amd64.deb - openh264-gst-plugin_1.0.0-0kurento1.20.04_amd64.deb - libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb - openh264_1.5.0-0kurento1.20.04_amd64.deb - srtp-docs_1.6.0-0kurento1.20.04_all.deb - libsrtp0_1.6.0-0kurento1.20.04_amd64.deb - srtp-utils_1.6.0-0kurento1.20.04_amd64.deb - libboost-log1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-filesystem1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-regex1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-program-options1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-system1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-thread1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libicu60_60.2-3ubuntu3.2_amd64.deb - libusrsctp_0.9.2-1kurento1.20.04_amd64.deb - gstreamer1.5-plugins-ugly_1.8.1-1kurento1.20.04_amd64.deb - libgstreamer1.5-0_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-tools_1.8.1-1kurento2.20.04_amd64.deb - gir1.2-gstreamer-1.5_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-pulseaudio_1.8.1-1kurento5.20.04_amd64.deb - gstreamer1.5-plugins-good_1.8.1-1kurento5.20.04_amd64.deb - gstreamer1.5-plugins-bad_1.8.1-1kurento5.20.04_amd64.deb - gir1.2-gst-plugins-bad-1.5_1.8.1-1kurento5.20.04_amd64.deb - openh264-gst-plugins-bad-1.5_1.8.1-1kurento5.20.04_amd64.deb - libgstreamer-plugins-bad1.5-0_1.8.1-1kurento5.20.04_amd64.deb - gir1.2-gst-plugins-base-1.5_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-alsa_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-plugins-base-apps_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-x_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-plugins-base_1.8.1-1kurento2.20.04_amd64.deb - libgstreamer-plugins-base1.5-0_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-libav_1.8.1-1kurento1.20.04_amd64.deb - kms-filters_6.16.0-0kurento1.20.04_amd64.deb - kmsjsoncpp_1.6.3-1kurento1.20.04_amd64.deb - kms-elements_6.16.0-0kurento1.20.04_amd64.deb - kms-core_6.16.0-0kurento1.20.04_amd64.deb - kurento-module-creator_6.16.0-0kurento1.20.04_all.deb - kms-jsonrpc_6.16.0-0kurento1.20.04_amd64.deb - kurento-media-server_6.16.0-0kurento1.20.04_amd64.deb
When there's a large timestamp gap, the ffmpeg `aresample` filter generates silent audio to fill the gap, but it enqueues the full length of the gap into the filter chain all at once, which uses a lot of memory. To work around this issue, detect long gaps in the audio files and remove the audio file from the mix for the duration of the gap. This solution requires only a single pass through each audio file to do timestamp analysis to find all the gaps, and the EDL processing does one pass through the EDL for each file with gaps - O(M×N) - which is probably as good as it gets without making the code significantly more complicated.
When inspecting test artifacts, I found an assortment of gstreamer, boost and KMS packages in them that should not be present as they're all Kurento related and should not exist in 3.0. I traced it back to the install-bbb action's "Setup local repository" step, which pulls those dependency packages from an externally-sourced tarball. I do not think any of those are necessary anymore, so this commits remove both the download and installation of the above. List of externally sourced packages: - libx264-152_0.152.2854+gite9a5903-2_amd64.deb - gstreamer1.0-nice_0.1.18-0kurento1.20.04_amd64.deb - libnice10_0.1.18-0kurento1.20.04_amd64.deb - gstreamer1.5-nice_0.1.18-0kurento1.20.04_amd64.deb - gir1.2-nice-0.1_0.1.18-0kurento1.20.04_amd64.deb - libmimic0_1.0.4-2.3_amd64.deb - openwebrtc-gst-plugins_0.10.0-1kurento1.20.04_amd64.deb - openh264-gst-plugin_1.0.0-0kurento1.20.04_amd64.deb - libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb - openh264_1.5.0-0kurento1.20.04_amd64.deb - srtp-docs_1.6.0-0kurento1.20.04_all.deb - libsrtp0_1.6.0-0kurento1.20.04_amd64.deb - srtp-utils_1.6.0-0kurento1.20.04_amd64.deb - libboost-log1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-filesystem1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-regex1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-program-options1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-system1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libboost-thread1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb - libicu60_60.2-3ubuntu3.2_amd64.deb - libusrsctp_0.9.2-1kurento1.20.04_amd64.deb - gstreamer1.5-plugins-ugly_1.8.1-1kurento1.20.04_amd64.deb - libgstreamer1.5-0_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-tools_1.8.1-1kurento2.20.04_amd64.deb - gir1.2-gstreamer-1.5_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-pulseaudio_1.8.1-1kurento5.20.04_amd64.deb - gstreamer1.5-plugins-good_1.8.1-1kurento5.20.04_amd64.deb - gstreamer1.5-plugins-bad_1.8.1-1kurento5.20.04_amd64.deb - gir1.2-gst-plugins-bad-1.5_1.8.1-1kurento5.20.04_amd64.deb - openh264-gst-plugins-bad-1.5_1.8.1-1kurento5.20.04_amd64.deb - libgstreamer-plugins-bad1.5-0_1.8.1-1kurento5.20.04_amd64.deb - gir1.2-gst-plugins-base-1.5_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-alsa_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-plugins-base-apps_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-x_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-plugins-base_1.8.1-1kurento2.20.04_amd64.deb - libgstreamer-plugins-base1.5-0_1.8.1-1kurento2.20.04_amd64.deb - gstreamer1.5-libav_1.8.1-1kurento1.20.04_amd64.deb - kms-filters_6.16.0-0kurento1.20.04_amd64.deb - kmsjsoncpp_1.6.3-1kurento1.20.04_amd64.deb - kms-elements_6.16.0-0kurento1.20.04_amd64.deb - kms-core_6.16.0-0kurento1.20.04_amd64.deb - kurento-module-creator_6.16.0-0kurento1.20.04_all.deb - kms-jsonrpc_6.16.0-0kurento1.20.04_amd64.deb - kurento-media-server_6.16.0-0kurento1.20.04_amd64.deb
refactor(docs): Add plugins option; split into sections
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Previous code processed them separately, then mixed them. This added an extra set of temporary files, an extra generation loss if a lossy working format is used, and another place where audio sync issues can be introduced. Now that the audio processing reliably handles multiple concurrent audio tracks and audio coming/going, merge the microphone and deskshare audio EDLs to process them together.
Vorbis audio uses fixed-size packet and doesn't concatenate cleanly with the method that we're using. This can result in audio glitches during audio cuts, and might cause (very small amounts of) A/V desync in some players. Flac uses variable-sized packets and can be concatenated cleanly. The other option is wav, but flac saves quite a lot of disk space and isn't that much slower. Some tweaks have been made to the presentation recording format to ensure it only encodes the final audio to ogg vorbis once regardless of whether or not the webcam video is used.
fix(LAD): Legacy dasboard data files not working with newer version of BBB
|
I like the issue-list you are doing here. Maybe also consider #24595 : Make the cursor point respect the pointerDiameter setting |
* Ref(html5): Remove non-used settings * Restore singlePeerConnection setting * codeRabbit suggestions * Fix(html5): revert old time
v2.22.2 --- * fix(livekit): guarantee agent subscriptions are cleared up * fix(livekit): only create RTC agents when necessary
CI: avoid using some external/3rd party assets
fix(chat): display message timestamp using locale-aware time format
Update transifex-link
…4902) * Translate en.json in et 100% translated source file: 'en.json' on 'et'. * Translate en.json in ja 100% translated source file: 'en.json' on 'ja'. --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Port BBB 3.0.24 to the upcoming BBB 3.0.25+
100% translated source file: 'en.json' on 'pl_PL'. Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* [plugin-sdk-i-204] added svg content to all extensible areas that allow adding an icon. * [plugin-sdk-i-204] sync html5 with SDK * [plugin-sdk-i-204] sync html5 with SDK and fix lint/tsc errors * [plugin-sdk-i-204] fix lint errors * [plugin-sdk-i-204] fix crash when icon set to null and fixed lint errors * [plugin-sdk-i-204] tweak code styling to match that of sonar cloud * [plugin-sdk-i-204] bump SDK version
…update (#24915) Bumps the npm_and_yarn group with 1 update in the /bbb-export-annotations directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /bbb-graphql-client-test directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /bbb-learning-dashboard directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /bbb-shared-notes-server directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /bigbluebutton-html5 directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /bigbluebutton-tests/playwright directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /docs directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects). Updates `follow-redirects` from 1.15.11 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) Updates `follow-redirects` from 1.15.6 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) Updates `follow-redirects` from 1.15.6 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) Updates `follow-redirects` from 1.15.11 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) Updates `follow-redirects` from 1.15.6 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) Updates `follow-redirects` from 1.15.11 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) Updates `follow-redirects` from 1.15.11 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) --- updated-dependencies: - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
When using LiveKit, volume control is always shown to end users even if the shared source does not have audio. That's caused by using only the BBB-provided hasAudio state, which is derived in the internal screenshare broadcast signaling. That is constructured at a point where audio availability _cannot_ be defined for LK - so it's always true. When using LK, only display screenshare volume controls when necessary by checking if there's an actual ScreenShareAudio track present in the bridge. Do this via a reactive state var, which is isolated in its own file to prevent circular dependency issues between screenshare's service and LK's bridge. This is additive to the existing check, so won't affect bbb-webrtc-sfu.
fix(livekit): use LK APIs for WebRTC stats gathering, fix edge cases
* Fix(html5): cursor appearing on woring position to viewers * fix failed CI
* Ref(html5): Make webcam show ui on hover or touch hold * Ref(html5): Add touch support * ref(html5): Rework hover behavior of squeezed webcams * Update bigbluebutton-html5/public/locales/en.json Co-authored-by: Copilot <[email protected]> * Update bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/component.tsx Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Bumps the npm_and_yarn group with 1 update in the /docs directory: [dompurify](https://github.com/cure53/DOMPurify). Updates `dompurify` from 3.3.2 to 3.4.0 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@3.3.2...3.4.0) --- updated-dependencies: - dependency-name: dompurify dependency-version: 3.4.0 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: adjust committers list * docs: describe BlockNote shared notes * docs: promote infinite wb to non-experimental * docs: random 3.0.25 adjustments * docs: random 3.0.25 adjustments * docs: plugins updates * docs: adjusted plugin urls
* docs(new-features): update plugin names and list Rename "Select Random User" to "Pick Random User" and add the Live transcription plugin to the official list. * docs(customize): clarify gladia transcription setup for BBB 3.0+ Add notes about gladia.io Free Trial limitations and update configuration instructions for BigBlueButton 3.0+. Include guidance on: - required bbb-transcription-controller versions - updated startMessage for newer releases - Live Transcription plugin requirement - using bbb-livekit-stt when LiveKit is the audio gateway * docs(customize): Add a language identifier to the code block
|
✅ Automated tests have passed! |




Wishlist for this iteration (in no specific order unless specified otherwise)
Features:
/createparamclientSettingsOverrideJsonUrl#24782rework the package repo workflow via github ciPostponing to 4.0 see !build: Ubuntu 24.04 support on BBB 4.0 #24805 . On 3.0 I tried ci: workflow to push .deb to package repo #24797 but will likely close it as there are lots more changes and adopting it in 4.0 should be fine. @antobinaryFixes for issues:
Merge PRs:
Other:
feat: override settings.yml/json via URL/etc/bigbluebutton/bbb-html5.ymlagainst c32058fEstimated release date: TBD
We welcome comments/suggestions, specifically looking for items that are high priority in your eyes.