Skip to content

Make finalize-script optional for file recordings - #596

Open
thisisnkc wants to merge 4 commits into
jitsi:masterfrom
thisisnkc:feat/optional-finalize-script
Open

Make finalize-script optional for file recordings#596
thisisnkc wants to merge 4 commits into
jitsi:masterfrom
thisisnkc:feat/optional-finalize-script

Conversation

@thisisnkc

Copy link
Copy Markdown

Make finalize-script optional

The finalize-script in reference.conf had a dummy default (/path/to/finalize) which meant every deployment had to override it, even if they didn't need a finalize script at all.

This changes it so the property is optional i.e, if you don't set it, Jibri just skips finalization and moves on. Empty strings are also handled the same way.

No breaking changes, existing setups that already configure a finalize script will work exactly as before.

Megred commits behind the source branch
Remove the dummy default '/path/to/finalize' and skip creating the finalize command runner when no script is configured.
@jitsi-jenkins

Copy link
Copy Markdown

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@saghul

saghul commented Apr 10, 2026

Copy link
Copy Markdown
Member

The idea SGTM, can't comment much on the code.

The switch to optionalconfig dropped the legacy JSON config source (finalize_recording_script_path), breaking backward compatibility.
@thisisnkc

Copy link
Copy Markdown
Author

I missed on the backward compatibility, should we add tests for that as I can see there are none currently?

@thisisnkc
thisisnkc requested a review from saghul April 21, 2026 07:01
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