Skip to content

Commit 85a38d9

Browse files
authored
jibri: add ability to enable Dropbox recording without enabling "service recording"
Also add a new ENABLE_LIVESTREAMING env variable to enable live streaming independently from the recording service.
1 parent f8b7037 commit 85a38d9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ services:
6969
- ENABLE_P2P
7070
- ENABLE_WELCOME_PAGE
7171
- ENABLE_CLOSE_PAGE
72+
- ENABLE_LIVESTREAMING
7273
- ENABLE_LOCAL_RECORDING_NOTIFY_ALL_PARTICIPANT
7374
- ENABLE_LOCAL_RECORDING_SELF_START
7475
- ENABLE_RECORDING

web/rootfs/defaults/settings-config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
{{ $ENABLE_WELCOME_PAGE := .Env.ENABLE_WELCOME_PAGE | default "true" | toBool -}}
1212
{{ $ENABLE_CLOSE_PAGE := .Env.ENABLE_CLOSE_PAGE | default "false" | toBool -}}
1313
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "false" | toBool -}}
14+
{{ $ENABLE_LIVESTREAMING := .Env.ENABLE_LIVESTREAMING | default "false" | toBool -}}
1415
{{ $ENABLE_REMB := .Env.ENABLE_REMB | default "true" | toBool -}}
1516
{{ $ENABLE_REQUIRE_DISPLAY_NAME := .Env.ENABLE_REQUIRE_DISPLAY_NAME | default "false" | toBool -}}
1617
{{ $ENABLE_SIMULCAST := .Env.ENABLE_SIMULCAST | default "true" | toBool -}}
@@ -135,17 +136,17 @@ config.etherpad_base = '{{ $PUBLIC_URL }}/etherpad/p/';
135136
// Recording.
136137
//
137138

138-
{{ if $ENABLE_RECORDING -}}
139+
{{ if or $ENABLE_RECORDING .Env.DROPBOX_APPKEY $ENABLE_LIVESTREAMING -}}
139140

140141
config.hiddenDomain = '{{ $XMPP_RECORDER_DOMAIN }}';
141142

142143
if (!config.hasOwnProperty('recordingService')) config.recordingService = {};
143144

144145
// Whether to enable file recording or not
145-
config.recordingService.enabled = true;
146+
config.recordingService.enabled = {{ $ENABLE_RECORDING }};
146147

147148
// Whether to enable live streaming or not.
148-
config.liveStreamingEnabled = true;
149+
config.liveStreamingEnabled = {{ $ENABLE_LIVESTREAMING }};
149150

150151
{{ if .Env.DROPBOX_APPKEY -}}
151152
// Enable the dropbox integration.

0 commit comments

Comments
 (0)