File tree 3 files changed +4
-1
lines changed 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ JIBRI_RECORDER_USER=recorder
333
333
JIBRI_RECORDING_DIR=/config/recordings
334
334
335
335
# The finalizing script. Will run after recording is complete
336
- JIBRI_FINALIZE_RECORDING_SCRIPT_PATH=/config/finalize.sh
336
+ # JIBRI_FINALIZE_RECORDING_SCRIPT_PATH=/config/finalize.sh
337
337
338
338
# XMPP user for Jibri client connections
339
339
JIBRI_XMPP_USER=jibri
Original file line number Diff line number Diff line change 1
1
{
2
2
"recording_directory" :" {{ .Env.JIBRI_RECORDING_DIR }}" ,
3
3
// The path to the script which will be run on completed recordings
4
+ {{ if .Env.JIBRI_FINALIZE_RECORDING_SCRIPT_PATH - }}
4
5
"finalize_recording_script_path" : " {{ .Env.JIBRI_FINALIZE_RECORDING_SCRIPT_PATH }}" ,
6
+ {{ end - }}
5
7
"xmpp_environments" : [
6
8
{
7
9
// A friendly name for this environment which can be used
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ usermod -aG ${host_audio_group} jibri
39
39
40
40
# script for finalizing must have executing bit.
41
41
[ ! -z "${JIBRI_FINALIZE_RECORDING_SCRIPT_PATH}" ] \
42
+ && [ -f "${JIBRI_FINALIZE_RECORDING_SCRIPT_PATH}" ] \
42
43
&& [ ! -x "${JIBRI_FINALIZE_RECORDING_SCRIPT_PATH}" ] \
43
44
&& chmod +x ${JIBRI_FINALIZE_RECORDING_SCRIPT_PATH}
44
45
You can’t perform that action at this time.
0 commit comments