From 89a7215565eb60f3d7fd0bfafb635fc2e9a974e3 Mon Sep 17 00:00:00 2001 From: ulif Date: Sun, 14 Jun 2020 21:44:16 +0200 Subject: [PATCH] Add more settings to disable recordings completely. We also forbid recording in the webrtc-sfu settings and lower expiration time of recordings (in case they happen anayway) down to 2 hrs (before: 14 days). --- bbb-apply-config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/bbb-apply-config.yml b/bbb-apply-config.yml index 31c4410..2908872 100644 --- a/bbb-apply-config.yml +++ b/bbb-apply-config.yml @@ -64,6 +64,32 @@ regexp: '^disableRecordingDefault=.*' line: 'disableRecordingDefault=true' + - name: enable/disable screen sharing recordings + lineinfile: + path: /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml + regexp: "^recordScreenSharing:(.*)$" + line: "recordScreenSharing: false" + state: present + backup: no + register: bbb_forbid_screen_rec + + - name: enable/disable web cam recordings + lineinfile: + path: /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml + regexp: "^recordWebcams:(.*)$" + line: "recordWebcams: false" + state: present + backup: no + register: bbb_forbid_cam_rec + + - name: "set recording expiration time to 2 hours (orig: 1209600, i.e. 14 days)" + lineinfile: + path: /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml + regexp: "^redisExpireTime:(.*)$" + line: "redisExpireTime: 7200" + state: present + backup: no + register: bbb_set_rec_exp # # disable flash (use HTML5) -- GitLab