Repository navigation
feat(recording): take the wiring and the shared secret from the environment - #26660
Merged
TiagoJacobs merged 2 commits intoNov 24, 2026
Merged
Conversation
The recording-ready and analytics callbacks each read securitySalt from bbb-web's properties, and the callback URL policy reads the same files. Read them with one helper, defaults first, then /etc/bigbluebutton/bbb-web.properties, as bbb-web and bbb-conf do. The recording-ready callback read only /etc/bigbluebutton/bbb-web.properties. bbb-conf writes securitySalt there, so the secret it signs with is unchanged.
…onment REDIS_HOST, REDIS_PORT, PLAYBACK_HOST and BN_NOTES_ENDPOINT win over bigbluebutton.yml and /etc/bigbluebutton/recording/recording.yml, and SHARED_SECRET wins over bbb-web's securitySalt for the callbacks. The redis and secret names are the ones bbb-apps-akka and bbb-webhooks read. With none of them set, the scripts read the same values as before. A container deployment can pass the addresses of the other services and the secret as environment, and an admin's recording.yml holds only their own changes.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 4
Please check the settings in the CodeRabbit UI or the
|
🚨 Automated tests failed |
TiagoJacobs
merged commit Nov 24, 2026
dd5d7d4
into
bigbluebutton:v4.1.x-develop
53 of 54 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The recording scripts can now take the Redis address, the shared-notes endpoint, the playback host and the API secret from environment variables.
Change
/etc/bigbluebutton/bbb-web.properties, as bbb-web does. The analytics callback and the callback URL policy already read both files; the recording-ready callback read only the/etcfile.REDIS_HOST,REDIS_PORT,PLAYBACK_HOST,BN_NOTES_ENDPOINTandSHARED_SECRET, if set and not empty, win overbigbluebutton.yml,/etc/bigbluebutton/recording/recording.ymland bbb-web's properties.PLAYBACK_HOSTandBN_NOTES_ENDPOINTare the yml keys in upper case, since no other component has these values.bigbluebutton.yml.Why
Containers can pass the addresses of the other services and the secret through the environment, so an admin's
recording.ymlholds only their own changes.Package installs
/etc/bigbluebutton/bbb-web.propertieshas nosecuritySalt, the recording-ready callback now uses the one from bbb-web's defaults file (written by after-install), as the analytics callback already did, instead of having no secret. On a normal install both files hold the same secret, becausebbb-conf --setsecretwrites it to the/etcfile.Checked
rake test: the same result before and after (59 runs, one failure that is already onv4.1.x-develop,edl/test_video.rb:26).