From ea2b855bf7d330a69bdb726013d90647271fbf3b Mon Sep 17 00:00:00 2001 From: Fred Dixon Date: Tue, 10 Oct 2023 06:44:49 -0400 Subject: [PATCH] Add script to easily setup video recording format --- docs/docs/administration/customize.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/docs/administration/customize.md b/docs/docs/administration/customize.md index f214474279..536bab4524 100644 --- a/docs/docs/administration/customize.md +++ b/docs/docs/administration/customize.md @@ -380,6 +380,28 @@ This pattern can be repeated for additional recording formats. Note that it's ve After you edit the configuration file, you must restart the recording processing queue: `systemctl restart bbb-rap-resque-worker.service` in order to pick up the changes. +The following script will enable the video recording format a BigBlueButton 2.6+ server. + +``` +!/bin/bash +mkdir -p /etc/bigbluebutton/recording +cat > /etc/bigbluebutton/recording/recording.yml << REC +steps: + archive: "sanity" + sanity: "captions" + captions: + - process:presentation + - process:video + process:presentation: publish:presentation + process:video: publish:video +REC +if ! dpkg -l | grep -q bbb-playback-video; then + apt install -y bbb-playback-video + systemctl restart bbb-rap-resque-worker.service +fi +``` + + #### Enable generating mp4 (H.264) video output By default, BigBlueButton generates recording videos as `.webm` files using the VP9 video codec. These are supported in most desktop web browsers, but might not work on iOS mobile devices. You can additionally enable the H.264 video codec in some recording formats (Keep in mind that the following `.yml` files mentioned ahead only exist when the respective format package is installed):