Skip to content

build: upgrade LiveKit stack components (server 1.13.7, sip 1.17.0, livekit-client 2.22.3) - #25912

Merged
prlanzarin merged 15 commits into
bigbluebutton:v4.0.x-developfrom
prlanzarin:u40d/build/lk-et-al-bump-0926
Oct 15, 2026
Merged

prlanzarin merged 15 commits into
bigbluebutton:v4.0.x-developfrom
prlanzarin:u40d/build/lk-et-al-bump-0926

Conversation

@prlanzarin

@prlanzarin prlanzarin commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Note: this bumps the minimum accepted Safari version to 14.1 (up from 14.0)
Note: bbb-webrtc-recorder is intentionally left out of this round. Ongoing work,
should keep working as is and required very significant upgrades that I'm still testing.

Upgrades the LiveKit stack BBB ships and adapts packaging, client and docs to it. See:

component from to
livekit-server v1.9.12 v1.13.7
livekit-sip v1.2.0 v1.17.0
lk (livekit-cli) 2.13.2 2.18.8
livekit-client 2.19.0 2.22.3
@livekit/components-react 2.9.19 2.9.24
bbb-webrtc-sfu v2.25.0-beta.2 v2.25.0-beta.3 (livekit-server-sdk 2.19.1, @livekit/rtc-node 1.1.0)

In detail:

Bumps and dependency changes

  • build(bbb-livekit): bump livekit-server, livekit-sip and lk.
    • The local livekit-sip patch (no pin, insta subscribe) is rebased and
      adapted to the latest livekit-sip version
    • livekit-sip now properly displays the version it runs on in startup logs
  • build(html5): [email protected], @livekit/[email protected].
    • Includes some manual polyfilling of Object.hasOwn (see commit log)
  • build(bbb-webrtc-sfu): v2.25.0-beta.3 (up from v2.25.0-beta.2).
    • livekit-server-sdk 2.19.1, @livekit/rtc-node 1.1.0.
  • build(html5): drop the direct webrtc-adapter dependency.
    • The client imported webrtc-adapter only for its global shims.
      Reasons for that are long gone (kurento-client/SIP.js)
    • livekit-client bundles its own copy of the adapter as an indirect dep

Adaptations

  • fix(livekit): patch psrpc in server's build to work around CPU lock.
    • psrpc's handler run loop spins on a closed subscription channel; v0.7.7,
      which livekit-server v1.13.7 requires, makes the it fire on nearly every
      handler close. Our unit runs livekit-server under CPUSchedulingPolicy=fifo,
      where the spin is hard to preempt, so CPU pegs.
    • This will be reported upstream with a fix suggestion. The build fails on
      purpose once livekit-server moves off psrpc v0.7.7, so the patch is
      revisited against upstream (i.e.: I'm forcing myself to not keep this around forever)
  • fix(livekit): set livekit-sip log level via logging.level.
    • livekit-sip config: log_level -> logging.level
  • refactor(freeswitch): enable rtp-port-usage-robustness.
    • See commit log
  • build(livekit): put livekit-sip in the default RTP/UDP range, new config key.
    • The packaged config sets rtp_port: 16384-32768, the range the other media
      servers share. Enabling dial-in no longer needs a manual port-range step.
    • The docs use the rtp_port: <START>-<END> form current livekit-sip reads.
  • refactor(livekit): pin camera degradation option to balanced.
    • livekit-client 2.20.2 changes the camera default to maintain-framerate.
    • We're keeping balanced, because resolution matters more than framerate here.
  • refactor(livekit): detect a fatal publish timeout by error reason.
    • The audio bridge checks ConnectionErrorReason.Timeout instead of matching
      "timed out" in the message. Current livekit-client raises every timeout through
      that reason.
  • fix(bbb-html5): require WeakRef to load the client, bump min Safari version to 14.1.
    • livekit-client 2.22.3 also needs WeakRef, which Safari 14.0 and iOS < 14.5 lack,
      and which has no adequate polyfill.
    • The docs raise the floor to Safari 14.1 / iOS 14.5.

General build/install fixes

  • fix(bbb-livekit): stop and restart both LiveKit units on upgrade.
    • Before: the prerm stopped only livekit-server, and the postinst only started
      livekit-sip, which does nothing on a running unit. An upgrade left the old sip
      process running on its old config.
    • Now both units are stopped in prerm and restarted in postinst.
  • fix(livekit): fail livekit-server and livekit-sip if config merge fails.
    • Both units ignored a failed yq merge in ExecStartPre and started on an empty config. The binaries refuse that config, so Restart=always looped until retry exhaustion and hid the cause.
    • A failed merge now fails the unit, and the error reaches journald.
  • refactor(livekit): centralize the audio publish defaults.
    • The microphone publish profile was defined three times with different values.
      It is now one constant, mirroring settings.yml, and the audio bridge falls back
      to it.
  • test(user): wait for the attendee to see the unlock before rejoining.
    • Test flakiness found when validating this branch.

Closes Issue(s)

None

Motivation

BBB's LiveKit components are several releases behind upstream.

More

  • Added/updated documentation: firewall guide, customization guide (dial-in RTP range), FAQ and troubleshooting (browser minimums).
  • Changelog (user-facing): Safari 14.0 and iOS below 14.5 are no longer supported. They show an upgrade message.
  • rtp_port overrides: an override in /etc/bigbluebutton/livekit-sip.yaml must be a single START-END string. livekit-sip ignores the mapping form without a warning and falls back to 10000-20000.
  • External IP discovery: on dual-stack 1:1 NAT hosts with rtc.use_external_ip: true, livekit-server >= 1.10 changes behavior significantly and I no longer recommend using that.
    • Set use_external_ip: false and node_ip: <public IPv4> before upgrading. livekit-server 1.9 accepts both keys.
    • The packaged livekit.yaml (use_external_ip: false) is unaffected.
    • Follow up: add this to bbb-install and docs

The prerm stops only livekit-server, and the postinst only starts
livekit-sip, which does nothing on a running unit. An upgrade therefore
leaves the old sip process running on its old config, while
`livekit-sip --version` already reports the new binary.

The prerm now stops both units, and the postinst restarts both. A
restart starts a stopped unit, so livekit-server behaves as before,
and sip also picks up the new binary when the old package's prerm
left it running.
The pinned LiveKit components are several releases behind, and the
local livekit-sip patch no longer applies to current sip releases,
which aborts the package build.

The patch is rebased and cut down to one line of context. It sets its
default in a separate statement instead of inside the Config literal,
so realigning that literal upstream no longer touches the hunk.

sip has read its version from a link-time variable since v1.3.0, so
the build passes it through -ldflags; without it the binary reports
0.0.0-dev.
psrpc's handler run loop reads a closed subscription channel as a nil
message and selects again, spinning until the handler's close
finishes. The loop exists since psrpc b01a52a and is still in v0.8.0
(latest) and in the v0.7.7 livekit v1.13.7 requires. This loop is
specially active on meeting ends, healthcheck disconns (webrtc-recorder)
and livekit-sip shutdowns.
With our livekit-server running under CPUSchedulingPolicy=fifo, it
becomes harder to preempt the spinning loop above, so the closers never
run again, CPU pegs and stuff breaks.

Setting the closed channel to nil disables its select case and removes
the spin. Pinning psrpc v0.7.6 only makes it rarer, and gives up the
shutdown fixes livekit took v0.7.7 for.

The build copies psrpc v0.7.7 into third_party/, applies
closed-channel-loop_psrpc.patch and replaces the module with the copy.

We'll report this upstream and have it fixed there. Build has a trigger
to break if LK upgrades to a newer psrpc version - intentional so we
make sure to fix this upstream.
Both livekit-server and livekit-sip ignore a failed yq merge in
ExecStartPre, so the binary starts on an empty config. Applications will
refuse to start (correctly so), but that leads to a restart loop due to
the Restart=always policy and eventual failure due to retry exhaustion.
Both inefficient and obfuscates the actual failure cause.

Remove the '-' prefix from both their ExecStartPre merge commands so
it fails on config-merge time and the error properly bubbles up to
journald.
log_level was deprecated and is not a thing anymore in livekit-sip.

Change the pkg's default config file to use logging.level instead.
We've previously discussed whether rtp-port-usage-robustness should be
activated by default and decided against it in <= 3.0 as it was still
the default media server (ie high volume) with a sectioned UDP range (ie
collision was not a thing).
In 4.0, this changes in two ways:
  - FS is not default. In a default setup, it may only be used in a low
    volume role of a bundled call gateway to livekit-sip. So we have no
    feasible overhead from using the rtp-port-usage-robustness feature.
  - FS, not being default, doesn't have a dedicated UDP range anymore
    (it is shared with livekit-sip).

Enable rtp-port-usage-robustness so that FS tests each UDP port before
binding them to prevent collision issues.
…fig key

Two issues:
  - Latest livekit-sip versions use a different config key for RTP port
    range configs (rtp_port: [range] rather than the port_start/end)
  - We do not configure a port range by default, which just makes for an
    extra manual config step when enabling dial-in

Put livekit-sip in the default UDP range out of the box and adjust docs
Adjust the config key to use new `rtp_port: rangeStart-rangeEnd format`
in docs.
livekit-client 2.20.2 changes its default camera degradation
preference from balanced to maintain-framerate. We want to preserve
the old default as resolution has greater value for us than framerate.

Pin camera degradation options to balanced. This is still overridable
via settings.yml/client configs.
The audio bridge recognises a fatal publish timeout by matching
"timed out" in a ConnectionError's message. This is from a time where
the SDK didn't really wrap all timeout errors as Timeout error types.
This has changed on recent versions.

Check for ConnectionErrorReason.Timeout instead when detecting fatal
publish timeout errors as livekit-client builds all of them through that
type.
While reviewing LK defaults post-tooling updates, I noticed that
the mic publish profile is defined three times with varying configs.
Everything should be faithful to what settings.yml defines first -
including the fallback (in relation to the versioned settings).

Put the versioned settings.yml pub profile in a constant in the initial
values util and make the bridge fall back to it.
Bump livekit-client to 2.22.3 up from 2.19.0.
Bump @livekit/components-react to 2.9.24 up from 2.9.19.

Note: [email protected] depends on Object.hasOwn via a 3rd party
dep. Deps are not transpiled by default, so this breaks the client in
browsers that lack support for it (Chrome < 93, FF < 92, Safari < 15.4).
Polyfill it manually in main.html for the browsers that do not support it.
…ersion to 14.1

[email protected] depends on WeakRef availability. I could not get
this to be polyfilled, and it is needed. The floor I found for this is
Safari < 14.1, which is circa iOS 14 (EOL 2021).

Test for WeakRef availability and consequently raise the minimum Safari
floor to 14.1.
Lock Share microphone rejoins the second attendee's audio right after
the moderator unlocks them. The unlock reaches that attendee through a
forced GraphQL reconnection a few hundred ms later, so when the Join
Audio click comes first the audio modal still sees the lock, joins
listen-only and closes before the test can find it.

The test now waits for the attendee's unmute button to be enabled,
which reads the same lock state the modal does, before leaving and
rejoining audio.
v2.25.0-beta.3
---
* feat(livekit): add the livekit.requestTimeout config
* fix(livekit): name masked SIP callers that send no caller ID
* fix(livekit): return 'unknown' when SDK track name conversion fails
* fix(livekit): incorrect screen share track source check
* build: [email protected] (up from 2.15.5)
* build: @livekit/[email protected] (up from 0.13.33)
* chore: npm audit fix
The client imports webrtc-adapter in meetingClient.jsx only for its
global shims. This was mainly used when kurento-client (dropped in 3.0)
and SIP.js (dropped in 4.0) were a thing. No reason for a direct
import anymore as far as the bbb-webrtc-sfu bridge is concerned.

livekit-client has its own version of webrtc-adapter which is handled by
in that dep, so it does not require a direct import.

Remove the import and the _direct_ dependency.
@prlanzarin prlanzarin added this to the Release 4.0 milestone Oct 1, 2026
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 7e3fc1e0-2309-4c09-b45c-7b32b2104a03

📥 Commits

Reviewing files that changed from the base of the PR and between b494e1f and 41206a4.

⛔ Files ignored due to path filters (1)
  • bigbluebutton-html5/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (22)
  • bbb-voice-conference/config/freeswitch/conf/autoload_configs/switch.conf.xml
  • bbb-webrtc-sfu.placeholder.sh
  • bigbluebutton-html5/client/main.html
  • bigbluebutton-html5/client/meetingClient.jsx
  • bigbluebutton-html5/imports/api/audio/client/bridge/livekit.ts
  • bigbluebutton-html5/imports/ui/components/video-provider/livekit-camera-bridge/component.tsx
  • bigbluebutton-html5/imports/ui/core/initial-values/meetingClientSettings.ts
  • bigbluebutton-html5/package.json
  • bigbluebutton-html5/public/locales/en.json
  • bigbluebutton-tests/playwright/user/lockViewers.ts
  • build/packages-template/bbb-livekit/after-install.sh
  • build/packages-template/bbb-livekit/before-remove.sh
  • build/packages-template/bbb-livekit/build.sh
  • build/packages-template/bbb-livekit/closed-channel-loop_psrpc.patch
  • build/packages-template/bbb-livekit/livekit-server.service
  • build/packages-template/bbb-livekit/livekit-sip.service
  • build/packages-template/bbb-livekit/livekit-sip.yaml
  • build/packages-template/bbb-livekit/no-pin-sub_sip.patch
  • docs/docs/administration/configure-firewall.md
  • docs/docs/administration/customize.md
  • docs/docs/support/faq.md
  • docs/docs/support/troubleshooting.md
💤 Files with no reviewable changes (1)
  • bigbluebutton-html5/client/meetingClient.jsx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


Walkthrough

The changes update Safari support checks and guidance, revise LiveKit audio and camera publishing settings, and remove the HTML5 client’s webrtc-adapter dependency. LiveKit packaging changes include component version updates, a psrpc patch, SIP configuration and service lifecycle changes, and RTP port guidance. The changes also enable a FreeSWITCH RTP setting, update the WebRTC SFU version, and add a Playwright assertion for attendee microphone unlocking.

Priority: ➖ Normal

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Other

Suggested reviewers: antobinary

Merge Risk: ⚪ Minimal · up to 41206

The compatibility, media publishing, and packaging updates have no established merge-blocking issue. Merge after normal build and test checks, respecting the updated Safari and iOS minimum versions.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 41206

The inspected changes do not establish a new authorization bypass or cross-room media exposure. Existing room ownership and microphone mute controls remain present, while startup now stops when configuration generation fails. Risk remains low rather than minimal because upgraded dependency behavior, deployed SIP controls, and recovery under interrupted upgrades were not fully verified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The inspected client paths affect an attendee's media publication through existing room participants. The packaged server and SIP changes affect shared media services, so a runtime failure can affect multiple meetings on the same host. No inspected change establishes additional tenant authority or a cross-host execution path.

Trust Boundaries and Controls

  • observed — Microphone publication explicitly sets microphone source and session/device-derived track name after selecting configured or fallback options. The queue includes duplicate-publication and stale-device checks. These controls remain in the inspected head flow; the changed options do not supply room identity or authorization.
  • observed — Local LiveKit credential files are assigned to bigbluebutton with mode 0640. Service startup uses umask 077 for merged runtime configuration and now treats merge failure as a startup failure. These are concrete countercontrols against running with a failed configuration-generation step.

Resilience and Maintainability Implications

  • observed — Microphone mute intent is reinforced after publication and reconnect. Fatal timeout recovery accepts an already-published result and otherwise dispatches recovery only when the microphone-switch generation still matches. The new classifier requires ConnectionError with reason Timeout; compatibility with every upgraded runtime error producer remains unverified.
🚥 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. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 8…
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 clearly summarizes the primary change: upgrading the LiveKit server, SIP, and client components.
Description check ✅ Passed The description directly explains the LiveKit upgrades, related packaging and client changes, browser support updates, documentation changes, and implementation details.
✨ Finishing Touches 💡 1
🧪 Generate unit tests (beta)
  • Create a new PR
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

🚨 Automated tests failed

@antobinary antobinary mentioned this pull request Oct 15, 2026
26 of 39 tasks
@prlanzarin
prlanzarin merged commit 7b21831 into bigbluebutton:v4.0.x-develop Oct 15, 2026
36 of 37 checks passed
antobinary added a commit that referenced this pull request Oct 16, 2026
Closes #23363. The per-user client parameters were documented under
Administration > Customize > "Passing user metadata to the client on
join", a table that said it was "accurate as of BigBlueButton 2.2.17".
They are join parameters, so they now live with the join call in
development/api.md, in a "User metadata parameters" section with the
same eight category tables; the join parameter table gets a userdata-*
row and the getJoinUrl row links to the list (one list, linked from
both calls, as g-v-egidy asked). The customize page keeps the heading
as a pointer so existing links still land somewhere useful, with the
custom-CSS example left under it; release-testing.md is relinked.

The section also gains the introduction the old page never had: what
userdata- is (the per-user counterpart of meta_), the name rule bbb-web
applies (getUserCustomData splits on "-" and drops names with a second
hyphen), where the values go (client, akka-apps, the userdata attribute
of ParticipantJoinEvent, inherited by breakout rooms), that the bbb_
prefix is reserved for BigBlueButton (kepstin's point on the issue),
that the client JSON-parses each value so arrays need double quotes,
and how getJoinUrlUserdataBlocklist filters them for viewers.

Every row was checked against settings.yml and the code that reads it
(getFromUserSettings callers in the client, userMetadata in akka-apps):

- defaults corrected: bbb_auto_join_audio, bbb_direct_leave_button,
  bbb_mirror_own_webcam, bbb_transparent_listen_only and
  bbb_force_restore_presentation_on_new_events are true, not false;
  bbb_show_session_details_on_join is false, not null;
- bbb_enable_video had its sense inverted ("false ... will display");
- bbb_listen_only_mode and bbb_transparent_listen_only are only read by
  the fullaudio (sfu) bridge; LiveKit ignores both;
- bbb_skip_echotest_if_previous_device is ignored on mobile;
- bbb_transcription_provider: vosk dropped, the client only tells
  webspeech and gladia apart;
- bbb_presenter_tools / bbb_multi_user_tools: the 29 ids from
  settings.yml instead of 8 plus "*more", and the example no longer
  uses single quotes (not JSON, the client keeps the raw string);
- bbb_shortcuts: the 12 descId values listed;
- bbb_parent_room_moderator: nothing reads it in 4.0; it is set by
  BreakoutApp2x on breakout join URLs and documented as such;
- bbb_fullaudio_bridge, bbb_auto_swap_layout, bbb_hide_presentation
  removed, read nowhere in the client (the last two were already
  marked "Removed in 2.6");
- the default column also names the settings.yml key each parameter
  overrides.

Overlaps #26074, which edits the same customize.md table; this commit
makes the same corrections before moving the table, so the second to
land rebases customize.md keeping the moved version.

npx docusaurus build passes with the pre-existing configure-firewall
link (from #25912) patched locally; none of the reported broken anchors
involve the headings added or moved here.
antobinary added a commit that referenced this pull request Oct 28, 2026
* docs: doc sync for 4.0 since 4.0.0-rc.5

Range v4.0.0-rc.5..v4.0.x-develop 0f90159 (52 commits). No changes to
bigbluebutton.properties, settings.yml, akka-apps application.conf,
ApiParams, the create/join tables, resources.xml or bbb-conf. The Grails 8
upgrade (#25466) brought its own docs; its "Upgraded components" list was
checked against the Spring Boot 4.1.1 and Grails 8.0.0 BOMs and the build
files (Spring Framework 7.0.9, Groovy 5.1.3, Tomcat 11.0.26, Gradle 9.8.0).

administration/customize.md, "Configuration of gladia.io":
- #26010 moved bbb-transcription-controller from v0.2.10 to v0.4.0, which
  talks to Gladia's v2 live API and reads the key from gladia.key
  (gladia-proxy.js); nothing reads x_gladia_key in gladia.startMessage any
  more, so the documented command left the server without a key. Set
  gladia.key instead, and drop the "3.0 or higher, use >0.3.x" paragraph
  and its startMessage (bit_depth and endpointing are now gladia.bitDepth
  and gladia.endpointing). Mention the translation options.
- Warn that the package's after-install.sh copies default.example.yml
  over default.yml on every install and upgrade, and every BigBlueButton
  upgrade reinstalls the package (its version comes from
  bigbluebutton-release). That removes the key and the ESL password
  bbb-conf --setip writes, and the service then crash-loops with "FSESL
  connection authentication error".
- Say up front which service applies: 4.0 defaults to the LiveKit audio
  bridge, where bbb-livekit-stt (not packaged; uv or Docker) does the
  work; bbb-transcription-controller forks audio from FreeSWITCH and only
  covers audioBridge=bbb-webrtc-sfu. The client settings (audioCaptions
  enabled, provider gladia) apply to both: bbb-livekit-stt starts on the
  speech-locale event that carries the provider.

new-features.md:
- "bbb-transcription-controller 0.4.0 (Gladia v2)" under Other notable
  changes, as the upgrade note for the above (rc.1 to rc.5 shipped
  v0.2.10).
- "Learning Dashboard: polls and quizzes numbered in the order they were
  asked" (#25988): untitled polls are numbered chronologically, the
  header tooltip shows when they were asked, and the Download Session
  Data CSV uses the same order.

Not documented: the UI fixes (#25942, #25993, #25974), the recording
panzoom fix (#25991), the bbb-ui-components-react and MUI bumps, the
pres-checker build cleanup, the Tomcat parameter limit and upload limits
(moved to Spring Boot keys in bbb-web's application.properties with the
same values), and the Jackson string limit (raised and dropped again).

(cherry picked from commit bcaed58)

* docs: iteration doc sync for 4.0.1

Documents the v4.0.0..v4.0.x-develop (cd89568) delta that the per-PR
docs commits in the range did not cover.

new-features.md
- Usability: "Live captions transcribed on the user's device" for
  public.app.audioCaptions.speechProcessing (#26179)
- Dedicated Audio settings tab: the processing pick is now scoped to the
  browser session and the meeting, public.app.audioFilterStorage (#25744)
- Behind the scenes: fewer video-grid re-renders (#26096), lock settings
  changes without reconnecting viewers (#26004), client modals on
  BBBModal (#25829), bbb-web Grails 2 cleanup (#26002)
- Media: "Last-N audio for the LiveKit bridge (experimental)" (#26211)
- Other notable changes: component versions in 4.0.1 (LiveKit stack
  #25912, bbb-webrtc-recorder 0.18.0, bbb-webrtc-sfu 2.25.0-beta.3,
  bbb-playback 5.4.8, Tomcat 11.0.27 #26241, Gradle 9.8.1 #26259,
  FreeSWITCH rtp-port-usage-robustness, livekit-sip rtp_port default),
  minimum Safari 14.1 (WeakRef, #25912), password-protected Redis for
  bbb-graphql-actions (#26110)
- Upgraded components list: Gradle 9.8.1, Tomcat 11.0.27
- Recent releases: 4.0.1 (the tag does not exist yet)
- Client settings / Added: speechProcessing, audioFilterStorage,
  public.chat.announceUserAwayStatusInChat (#26090),
  public.media.livekit.selectiveSubscription.lastN; the existing
  paginationToggleModeratorOnly bullet is tagged 4.0.1

customize.md
- speechProcessing was added in 4.0.1, not 4.0
- Advanced Filtering: paragraph on audioFilterStorage
- Audio: new section "Play only the most relevant microphones (Last-N)"

api.md
- New "Updated in 4.0.1" block. The userdata-bbb_parent_room_moderator
  removal (#26087) moves there from the 4.0 block: it landed after v4.0.0.

Left out on purpose: fixes (#26269, #26250, #26118, #26085, #26212 and
the rest), the presenter authorization change (#25887), test/CI work and
dependency bumps belong in the release notes, not in the docs. akka-apps
application.conf, ApiParams.java and LockSettingsParams.java did not
change in the range.

* docs: keep the 4.0.1 join note in the 4.0 block, drop four sections

api.md
- userdata-bbb_parent_room_moderator stays in the 4.0 "Removed
  parameters" line, marked "removed in 4.0.1", instead of a separate
  "Updated in 4.0.1" block.

new-features.md
- Drop the 4.0.1 "Behind the scenes" subsections (video-grid
  re-renders, lock settings without reconnects, BBBModal, bbb-web
  cleanup): release-notes material, not documentation.
- Drop "Learning Dashboard: polls and quizzes numbered in the order
  they were asked", carried over from the rc.5 sync.

* docs: drop the "Other notable changes" entries added for 4.0.1

new-features.md
- Drop "Component versions in 4.0.1", "Minimum Safari version is 14.1",
  "Password-protected Redis for bbb-graphql-actions" and the
  "bbb-transcription-controller 0.4.0 (Gladia v2)" note carried over
  from the rc.5 sync. The Safari floor and the Redis password are
  already documented on their own pages; the version bumps belong in
  the release notes.

* docs: drop the customize.md changes from the 4.0.1 sync

customize.md
- Back to its v4.0.x-develop content: no Last-N section, no
  audioFilterStorage paragraph, speechProcessing stays "added in 4.0",
  and the Gladia v2 edits from the rc.5 sync cherry-pick are gone too.

new-features.md
- The Last-N section no longer links to the dropped customize.md
  section; the client-settings bullet still links to it.
antobinary added a commit that referenced this pull request Oct 29, 2026
The livekit-sip note added in 8aebd60 (#25912) links to
/administration/configure-firewall. That is the page's file name and id,
not its URL: configure-firewall.md sets
slug: /administration/firewall-configuration, which is what install.md and
troubleshooting.md already link to.

Docusaurus throws on broken links (onBrokenLinks), so `docusaurus build`
fails with "Broken link on source page path = /administration/customize/".
Since #26058 brought the note to v4.0.x-release on 2026-10-28, the
"Build and Deploy Docs" workflow fails too, because its build.sh builds the
4.0 version of the site from that branch, so docs.bigbluebutton.org has not
been updated since then. Pull requests do not catch this because no PR
workflow runs the docs build.

v4.1.x-develop has the same link in a reworded line. The next
v4.0.x-develop merge into it takes this line from 4.0 without a conflict,
so the fix carries over there.
antobinary added a commit that referenced this pull request Oct 30, 2026
No pull request workflow builds the docs: automated-tests.yml ignores
docs/** and **/*.md, and deploy-docs.yml only runs on pushes to develop. The
broken link from #25912 was found only after it reached v4.0.x-release and
the docs deploy failed.

The new workflow runs `npm run build` in docs/ on pull requests that touch
docs/ or the workflow, and on demand. With the stricter config it fails on
broken links, anchors, markdown links and images, and duplicate routes. It
builds this branch's docs alone, without the other versions, so the archived
branches cannot fail it.

Node 24 and the action versions match deploy-docs.yml on develop.
antobinary added a commit that referenced this pull request Oct 30, 2026
No pull request workflow builds the docs: automated-tests.yml ignores
docs/** and **/*.md, and deploy-docs.yml only runs on pushes to develop. On
v4.0.x the broken link from #25912 was found only after it reached the
release branch and the docs deploy failed.

The new workflow runs `npm run build` in docs/ on pull requests that touch
docs/ or the workflow, and on demand. With the stricter config it fails on
broken links, anchors, markdown links and images, and duplicate routes. It
builds this branch's docs alone, without the other versions, so the archived
branches cannot fail it.

Node 24 and the action versions match deploy-docs.yml on develop.
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.

1 participant