diff --git a/docker-compose.yml b/docker-compose.yml index 9695a8f..580530c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -69,6 +69,7 @@ services: - ENABLE_P2P - ENABLE_WELCOME_PAGE - ENABLE_CLOSE_PAGE + - ENABLE_LIVESTREAMING - ENABLE_LOCAL_RECORDING_NOTIFY_ALL_PARTICIPANT - ENABLE_LOCAL_RECORDING_SELF_START - ENABLE_RECORDING diff --git a/web/rootfs/defaults/settings-config.js b/web/rootfs/defaults/settings-config.js index f0e1aa3..15b12d9 100644 --- a/web/rootfs/defaults/settings-config.js +++ b/web/rootfs/defaults/settings-config.js @@ -11,6 +11,7 @@ {{ $ENABLE_WELCOME_PAGE := .Env.ENABLE_WELCOME_PAGE | default "true" | toBool -}} {{ $ENABLE_CLOSE_PAGE := .Env.ENABLE_CLOSE_PAGE | default "false" | toBool -}} {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "false" | toBool -}} +{{ $ENABLE_LIVESTREAMING := .Env.ENABLE_LIVESTREAMING | default "false" | toBool -}} {{ $ENABLE_REMB := .Env.ENABLE_REMB | default "true" | toBool -}} {{ $ENABLE_REQUIRE_DISPLAY_NAME := .Env.ENABLE_REQUIRE_DISPLAY_NAME | default "false" | toBool -}} {{ $ENABLE_SIMULCAST := .Env.ENABLE_SIMULCAST | default "true" | toBool -}} @@ -135,17 +136,17 @@ config.etherpad_base = '{{ $PUBLIC_URL }}/etherpad/p/'; // Recording. // -{{ if $ENABLE_RECORDING -}} +{{ if or $ENABLE_RECORDING .Env.DROPBOX_APPKEY $ENABLE_LIVESTREAMING -}} config.hiddenDomain = '{{ $XMPP_RECORDER_DOMAIN }}'; if (!config.hasOwnProperty('recordingService')) config.recordingService = {}; // Whether to enable file recording or not -config.recordingService.enabled = true; +config.recordingService.enabled = {{ $ENABLE_RECORDING }}; // Whether to enable live streaming or not. -config.liveStreamingEnabled = true; +config.liveStreamingEnabled = {{ $ENABLE_LIVESTREAMING }}; {{ if .Env.DROPBOX_APPKEY -}} // Enable the dropbox integration.