Add Jibri Recording and Streaming to Jitsi Meet Docker

Example scenario: Imagine a small training team running Jitsi Meet with Docker Compose and needing to record one scheduled class and occasionally stream a public session. For that setup, enable the official Jibri Compose service, give its internal XMPP accounts generated passwords, and provide writable persistent storage. Jibri is resource-intensive and handles one recording at a time per instance, so plan capacity before inviting users to rely on it.

A sample .env file shows ENABLE_RECORDING=1, the Jibri and recorder XMPP usernames, masked password placeholders, and the jibribrewery room name.
The Docker environment file needs recording enabled and matching internal Jibri account settings; replace password placeholders with generated secrets.

What does Jibri add to a Docker deployment?

Jibri is the Jitsi recording and streaming component. It opens the meeting in Chrome inside a virtual display, then captures and encodes the audio and video with FFmpeg. The Jibri project documentation describes it as a service intended for a separate machine or virtual machine without other applications competing for its display or audio devices.

One Jibri instance supports one recording at a time. The Jitsi requirements page says to plan one system per simultaneous recording because video encoding consumes CPU, memory, and disk. For the example team, one instance fits only if recordings do not overlap. Add instances for concurrent sessions and configure the Jibri pool accordingly.

This procedure assumes an existing Jitsi Docker Compose deployment from the official release. Bare-metal Debian installs use different package and Prosody steps, so follow the matching installation guide.

What should be ready before you enable it?

  • A working Jitsi Meet Docker Compose installation, including its domain and HTTPS configuration.
  • The official release bundle’s docker-compose.yml, jibri.yml, env.example, and password-generation script.
  • A host with enough CPU, memory, and disk for encoding and saved recordings; needs vary by resolution and workload.
  • Persistent storage with enough free space and write access for the Jibri container.

Jibri discovers the other Jitsi services over the Compose network. Keep its internal XMPP accounts and brewery room consistent; they are service credentials, not participant logins. Protect the passwords and do not expose internal XMPP ports publicly. Configure public Jitsi web and media ports as described in the Docker guide.

How do you enable the Docker Jibri service?

  1. Prepare the environment file. In the official Compose release directory, copy env.example to .env if needed. For a new deployment, run ./gen-passwords.sh there to generate service passwords. Treat .env as a secret. For an existing server, back up the file and preserve its working values instead of replacing it.
  2. Enable recording and check the Jibri variables. Set ENABLE_RECORDING=1. Confirm that Jibri and recorder usernames/passwords and the Jibri brewery MUC are set. A MUC (multi-user chat room) lets Jitsi services discover Jibri instances. Common Docker values are jibri, recorder, and jibribrewery; preserve customized values. The Docker guide documents each variable.
  3. Create the recordings directory. The Docker guide maps host storage at ${CONFIG}/storage/jibri to Jibri’s /storage volume. For the guide’s default configuration path, create the directory and apply the documented permission needed by the container user:
A terminal displays commands creating the Jitsi Docker storage/jibri directory and setting its documented permissions.
Create the persistent Jibri storage directory before starting the container; recordings and logs use this mounted storage.
mkdir -p ~/.jitsi-meet-cfg/storage/jibri
chmod 777 ~/.jitsi-meet-cfg/storage/jibri

If your CONFIG variable points somewhere else, create the matching ${CONFIG}/storage/jibri path instead. Follow the current Docker guide for any other required storage and temporary directories in a fresh rootless installation. The permissive mode above is the handbook’s documented container setup; apply it only to the specific storage directory, not to your whole configuration tree. Use appropriate host controls to limit access to recordings.

  1. Start Jibri with its Compose overlay. The separate file adds the Jibri service to the main stack. From the directory containing both files, run:
A terminal shows docker compose combining docker-compose.yml and jibri.yml to start the Jitsi services in detached mode.
Start the Jibri service by including the official jibri.yml Compose overlay with the main deployment.
docker compose -f docker-compose.yml -f jibri.yml up -d

Use both Compose files for later checks and updates. The current handbook says Jibri no longer needs SYS_ADMIN. It notes that releases older than 7439 need host ALSA loopback setup; this is a legacy requirement, so check the documentation for your exact release before changing audio devices.

How can you test recording and live streaming?

Check state with docker compose -f docker-compose.yml -f jibri.yml ps and startup errors with docker compose -f docker-compose.yml -f jibri.yml logs --tail=100 jibri. A running container may not have joined the XMPP brewery. If recording is unavailable, compare the XMPP host, credentials, and room across Jitsi and Jibri.

Open a test meeting and start a recording. Confirm that a file appears under the configured host storage path. In the example, make this a short internal test and check disk space before the real class.

For a livestream, choose the meeting’s live-stream action and enter your provider’s stream key. Jitsi documents a key prompt when streaming is available. Keep real keys out of screenshots, logs, and .env. Some Jibri configurations restrict RTMP destinations with an allow-list; if connection fails, check the installed release’s setting and allow only the intended ingest URL.

A Jitsi meeting window displays a Live stream dialog with a blank Stream key field and Cancel and Start buttons.
The live-stream dialog requests a provider stream key; keep real keys private and use the provider’s correct ingest destination.

What should you check when Jibri will not start?

  • The container exits immediately: confirm the mapped storage directory exists and is writable, then review the Jibri logs for the first startup error.
  • The meeting has no recording action or reports no recorder available: confirm ENABLE_RECORDING=1, use the Jibri Compose overlay, and compare the internal XMPP credentials and brewery room. Restart the affected services after changing configuration.
  • Recording is slow or fails under load: check CPU, memory, and disk throughput. Jibri performs live encoding, so the general Jitsi server sizing guidance is not a substitute for Jibri capacity planning.
  • Streaming will not connect: verify the provider’s stream key and RTMP ingest address, then check any Jibri destination allow-list.

After correcting an environment value, rerun the Compose command with both files and repeat the short meeting test. Confirm success when Jibri stays healthy, the meeting starts the requested action, and a recording appears in persistent storage—or the stream reaches its provider—without exposing credentials.

Leave a Comment

Add Jibri Recording and Streaming to Jitsi Meet Docker

Add Jibri Recording and Streaming to Jitsi Meet Docker

Enable Jitsi Meet recording and live streaming with the official Docker Compose Jibri service, secure XMPP credentials, writable storage, and practical verification steps.

Set Jitsi Meet to 180p or 360p on a Weak Connection

Set Jitsi Meet to 180p or 360p on a Weak Connection

Lower Jitsi Meet video quality to 180p or 360p, reduce outgoing camera traffic, and test bitrate caps without sacrificing meeting audio.

Restore Jitsi Meet Bridge Connections by Checking UDP and NAT

Restore Jitsi Meet Bridge Connections by Checking UDP and NAT

Trace bridge failures from service health to UDP 10000 and NAT mapping, then retest Jitsi Meet without opening unrelated firewall ports.

Scale Jitsi Meet Across Servers With JVB and OCTO

Scale Jitsi Meet Across Servers With JVB and OCTO

Add Jitsi Videobridge nodes for more concurrent meetings, configure OCTO only when a single conference must span bridges, and verify network paths and bridge discovery.

How to Visit the Rockefeller Center Christmas Tree Without the Tourist Traps: Step-by-Step Guide

Discover whether the Rockefeller Center Christmas Tree is worth the hype. Follow 5 proven steps to avoid crowds and enjoy the holiday display.

Enable Etherpad Shared Notes on BigBlueButton 3.0

Enable Etherpad Shared Notes on BigBlueButton 3.0

Check the version first, then install BBB 3.0's Etherpad packages and set the shared-notes editor globally or per meeting.

Stop BigBlueButton Echo and Audio Delay With These Checks

Stop BigBlueButton Echo and Audio Delay With These Checks

Use BigBlueButton’s echo test, headset, and browser audio settings to stop microphone feedback, then isolate network or server causes of audio lag.

Set Up External TURN for Jitsi Behind NAT

Set Up External TURN for Jitsi Behind NAT

Configure coturn, NAT port forwarding, and Prosody so Jitsi can relay calls when direct media connections fail.

Why Do Americans Spend Billions on Holiday Shopping While Complaining About Inflation? A 5-Step Analysis

Why Do Americans Spend Billions on Holiday Shopping While Complaining About Inflation? A 5-Step Analysis

Master a 5-step guide to understand holiday inflation spending, balance family traditions with budget realities, and safeguard your finances.

Set Up Jitsi Meet on Ubuntu 24.04 with Trusted HTTPS

Set Up Jitsi Meet on Ubuntu 24.04 with Trusted HTTPS

Install Jitsi Meet from its official Ubuntu packages, obtain a Let’s Encrypt certificate, open the right ports, and verify secure meetings.