Set Up Jibri for Jitsi Recording/Streaming

This tutorial will demonstrate how to install Jibri to add recording and streaming functionality to a Jitsi Meet server. Watch the video version here.

Prerequisites: This tutorial assumes you already have a Jitsi Meet server set up. If you don't, follow this video and/or this wiki page to get one set up.

Example parameters: In this example, our fully-qualified domain name (FQDN) is "".

Step 1: Install the required packages that are available from Debian 10's default repositories:

apt install linux-image-amd64 ffmpeg curl unzip software-properties-common
Step 2: If you are using a hosting provider such as DigitalOcean who installs a cloud kernel by default, install a generic kernel, remove the cloud kernel, and reboot into the generic kernel:

apt list --installed | grep linux-image-
apt remove linux-image-cloud-amd64 linux-image-w.x.y-z-cloud-amd64
systemctl reboot
Step 3: Enable the ALSA loopback module to start on boot, and also start it for the current boot:

echo "snd_aloop" >>/etc/modules
modprobe snd_aloop
Step 4: Install Google Chrome:

curl -o - | apt-key add
echo "deb [arch=amd64] stable main" > /etc/apt/sources.list.d/google-chrome.list
apt update
apt install google-chrome-stable
Step 5: Install ChromeDriver:

unzip ~/ -d ~/
rm ~/
sudo mv -f ~/chromedriver /usr/local/bin/chromedriver
sudo chmod 0755 /usr/local/bin/chromedriver
Step 6: Turn off warnings about scripted control in Chrome:

mkdir -p /etc/opt/chrome/policies/managed
echo '{ "CommandLineFlagSecurityWarningsEnabled": false }' >>/etc/opt/chrome/policies/managed/managed_policies.json
Step 7: Install Jibri:

apt install jibri
Choose your keyboard configuration when prompted.

Step 8: Add Jibri's user account to the necessary groups:

usermod -aG adm,audio,video,plugdev jibri
Step 9: Configure Prosody:

nano /etc/prosody/prosody.cfg.lua
Uncomment the items in the "conference" section:

---Set up a MUC (multi-user chat) room server on
Component "" "muc"
--- Store MUC messages in an archive and allow users to access it
modules_enabled = { "muc_mam" }
Add an internal MUC component entry:

--- internal muc component, meant to enable pools of jibri and jigasi clients
Component "" "muc"
modules_enabled = {
storage = "internal"
muc_room_cache_size = 1000
Add a new VirtualHost entry to hold Jibri's user account:

VirtualHost ""
modules_enabled = {
authentication = "internal_plain"
Step 10: Create two new accounts for Jibri to use (one for control purposes, one for recording purposes):

prosodyctl register jibri Jibr1P@ssw0rd
prosodyctl register recorder Rec0rderP@ssw0rd
Step 11: Configure Jicofo:

nano /etc/jitsi/jicofo/
Add these two lines for the Jibri control room and timeout:

Step 12: Configure Jitsi Meet:

nano /etc/jitsi/meet/
Locate and uncomment the following options:

fileRecordingsEnabled: true,
liveStreamingEnabled: true,
hiddenDomain: '',
Step 13: Make a directory to store recordings and set its permissions appropriately:

mkdir /recordings
chown jibri:jibri /recordings
Step 14: Configure Jibri:

nano /etc/jitsi/jibri/config.json
Set the following options:

"recording_directory": "/recordings",
"finalize_recording_script_path": "",
"xmpp_server_hosts": [
"xmpp_domain": "",
"control_login": {
"domain": "",
"username": "jibri",
"password": "Jibr1P@ssw0rd"
"control_muc": {
"domain": "",
"room_name": "JibriBrewery",
"nickname": "jibri"
"call_login": {
"domain": "",
"username": "recorder",
"password": "Rec0rderP@ssw0rd"
Step 15: Install Java 8:

wget -O - | sudo apt-key add -
apt update
apt install adoptopenjdk-8-hotspot
Configure Jibri to start with Java 8 instead of the default Java version (replace the word "java" with the full path to Java 8):

nano /opt/jitsi/jibri/
Step 16: Restart all services, enable and start Jibri:

systemctl restart prosody
systemctl restart jicofo
systemctl restart jitsi-videobridge2
systemctl enable --now jibri

There are no pages beneath this page

Expand: Discussion Discussion (0 posts)