Recording is one of the most requested features for self-hosted Jitsi Meet, and in most deployments it is handled by Jibri. This post explains how Jitsi recording with Jibri works, what infrastructure it needs, and which capacity, storage, security and consent questions to answer before you switch it on.
What Jibri is
Jibri (short for Jitsi Broadcasting Infrastructure) is a separate component from the Jitsi project. It does two related jobs:
- Recording: it captures a meeting and saves it as a video file.
- Live streaming: it pushes the meeting to an RTMP endpoint, such as a streaming platform or your own media server.
Jibri is not part of a basic Jitsi Meet install. You add it alongside the core services (the web front end, Prosody, Jicofo and the Jitsi Videobridge), and it needs its own configuration and, in production, its own machines.
How Jibri recording works
It helps to understand the moving parts, because most planning decisions follow from them.
- A moderator clicks Start recording (or Start live stream) in the meeting.
- Jicofo looks for an idle Jibri in the pool of instances that have registered with it, and asks one to start.
- Jibri launches a Chrome browser that joins the meeting as a hidden participant, using a dedicated recorder domain so it does not appear in the participant list.
- Chrome renders the meeting on a virtual display, and the meeting audio is routed through a virtual sound card (the ALSA loopback device).
- ffmpeg captures that display and audio and encodes it, either to a file on local disk or to an RTMP stream.
- When the recording stops, Jibri closes the file and can run a finalise script you provide, for example to upload the file to storage and notify your application.
What this means in practice
- You get what the hidden browser sees. The recording is a single composite video using the same kind of layout a participant would see. It is not a set of separate per-speaker tracks. If you need isolated audio per participant for editing or analysis, Jibri alone will not give you that.
- One Jibri handles one job at a time. Each instance can run one recording or one live stream. Two simultaneous recordings need two available Jibris.
- It is resource-hungry. Running a full browser and encoding video in real time uses a lot of CPU and memory compared with the videobridge's job of forwarding streams.
Infrastructure to plan for
Dedicated machines
In production, run Jibri on its own virtual machines or containers rather than on the server that hosts Jitsi Meet and the videobridge. A busy recording competing for CPU with the bridge can degrade both the recording and the live meeting. We cover the wider picture of a production setup in Jitsi Meet Installation: What Production Really Involves.
The ALSA loopback module
Jibri relies on the snd-aloop kernel module to capture audio. Some cloud provider images ship with trimmed kernels that do not include it, in which case you may need to switch to a more general kernel. If you run Jibri in containers, the module must be loaded on the host, not inside the container.
Chrome and ChromeDriver
Jibri controls Chrome through ChromeDriver, and the two need compatible versions. A common cause of recordings suddenly failing is an automatic Chrome update that leaves ChromeDriver behind. Decide how you will pin versions, test updates before rolling them out, and alert when recordings fail to start.
Prosody, Jicofo and Jitsi Meet configuration
Recording touches several components, and all of them need to agree:
- Prosody needs a recorder virtual host and accounts that Jibri uses to log in and to join meetings.
- Jicofo needs to know where Jibri instances register so it can find an idle one.
- Jitsi Meet's web configuration needs recording and, if wanted, live streaming enabled, and the recorder domain marked as hidden.
- Jibri's own configuration defines those credentials, the recordings directory, and the finalise script.
The exact option names have changed between Jitsi releases, so follow the documentation for the version you are running rather than copying snippets from older guides.
Once installed, a few basic checks confirm the foundations are in place.
Check the official Jitsi documentation for your version before running these commands.
# Load the ALSA loopback module and confirm it is present
sudo modprobe snd-aloop
lsmod | grep snd_aloop
# Load the module automatically at boot (Debian/Ubuntu)
echo "snd-aloop" | sudo tee -a /etc/modules
# Check the Jibri service and follow its logs
sudo systemctl status jibri
sudo journalctl -u jibri -f
Capacity: how many Jibris do you need?
The key number is peak concurrent recordings and streams, not total meetings. If you host many meetings but only a handful are ever recorded at the same moment, you need a handful of Jibris, plus some headroom.
When every Jibri is busy, a moderator who tries to start a recording is told that no recorder is available. Decide whether that is acceptable or whether you need spare capacity at all times.
Common approaches:
- A fixed pool sized for expected peaks. Simple and predictable, but you pay for idle instances.
- An autoscaling pool that adds instances when the number of idle Jibris drops. More efficient, but new instances take time to boot and register, so keep a small number of warm spares.
Resource needs per instance depend on resolution, frame rate, meeting layout and how much is happening on screen. Rather than relying on rules of thumb, load test: run representative meetings with recording on, and watch CPU, memory, dropped frames and audio-video sync in the output. Then size from what you measured.
Storage, retention and delivery
Recordings land on Jibri's local disk first. Without a plan, that disk fills up, and a full disk means failed recordings.
- Move files off the instance. Use the finalise script to upload each file to object storage or a file server, then remove the local copy.
- Connect recordings to your application. Most organisations want a recording to appear against the right meeting, user or customer record. That usually means the finalise script calls your API or drops metadata somewhere your app can read it.
- Set a retention policy. Decide how long recordings are kept, who can delete them, and make deletion automatic where possible.
- Protect the files. Encrypt storage at rest, restrict access, and share recordings through expiring links rather than public URLs.
- Monitor size and growth. File sizes vary with duration, resolution and content, so track actual usage instead of estimating once.
Access control and consent
Who can start a recording
Only moderators can start recordings, but on an open Jitsi deployment the first person into a room typically becomes moderator. If recording is enabled on an open server, effectively anyone can record. For most businesses, recording should sit behind authentication, either Jitsi's secure domain setup or JWT tokens issued by your application, so you control who becomes a moderator.
Telling participants
Jitsi Meet shows participants that a meeting is being recorded, but that is not a substitute for your own policy. Requirements for notice and consent vary by country, sector and purpose, so take legal advice on what applies to you and reflect it in your meeting invitations, terms and internal guidance.
Live streaming keys
Stream keys for RTMP platforms grant the ability to broadcast to your channel. Treat them as secrets, and be aware that the receiving platform may keep its own copy of the stream under its own terms.
Alternatives and complements to Jibri
Jibri is not the only option, and it is worth considering the alternatives before committing to the infrastructure.
- Local recording. Recent versions of Jitsi Meet can record in the participant's browser and save the file to their own device. There is no server to run, but quality depends on that person's machine and browser, and files are not stored centrally.
- Live streaming instead of recording. If your aim is publishing, streaming to a platform that keeps an archive may be simpler, provided its terms suit you.
- Transcription. Text transcripts are handled by different components and a speech-to-text service, not by Jibri. Plan them as a separate piece of work.
A practical planning checklist
- Confirm what you need: files, live streams, or both, and whether a composite video is acceptable.
- Estimate peak concurrent recordings and decide what happens when all recorders are busy.
- Provision dedicated Jibri machines with the loopback module available.
- Agree a process for Chrome and ChromeDriver updates.
- Configure Prosody, Jicofo, Jitsi Meet and Jibri for your version.
- Write and test a finalise script for upload and notification.
- Define storage, retention, encryption and access rules.
- Restrict moderator rights with authentication.
- Load test, then monitor failures, disk space and resource use in production.
Getting help with Jibri
Jibri is reliable once it is set up carefully, but it has more moving parts than the rest of a Jitsi deployment. If you would like it designed and installed properly, our Jitsi Installation & Setup service covers recording and streaming, and Managed Jitsi Hosting can take care of the ongoing updates and monitoring. To talk through your requirements, get in touch.