Quick-wiki: Jitsi Meet

Quick-wiki: Jitsi Meet

This is a quick-wiki for quick reference for my occasional Jitsi Meet installations.

Table of Content

Limit RAM usage

Both jicofo and jvb are configured to take by default up to 3 GB of RAM each. On a machine with running both by default almost ~8 GB RAM is required. Memory hog keeps on building due to not so aggressive garbage collection, but it can be instructed to use less 1.

For jvb, add the following line in /etc/jitsi/videobridge/config

VIDEOBRIDGE_MAX_MEMORY=320m

For jicofo, add the following line in /etc/jitsi/jicofo/config

if [ -z "$JICOFO_MAX_MEMORY" ]; then JICOFO_MAX_MEMORY=320m; fi

Change the memory size as you want and do a restart for applying new changed configs.

I host a personal instance for friends and family on 1 GB EC2, 320 MB each for jvb and jicofo is fine for 5-6 folks with videos on.

Restart setup

sudo /etc/init.d/prosody restart 
sudo /etc/init.d/jicofo restart
sudo /etc/init.d/jitsi-videobridge2 restart

or a copy-paste one liner for above:

sudo /etc/init.d/prosody restart && sudo /etc/init.d/jicofo restart && sudo /etc/init.d/jitsi-videobridge2 restart

Check installation version

dpkg -l | grep jitsi

Returns versions of all the components installed with description.

Log files

Interface changes

The UI can be customized by making changes in /usr/share/jitsi-meet/interface_config.js file.

Following are some handy variables to change:

RTMP stream and record setup

Note - For self-hosted Jitsi Meet instances, additional Jibri setup is required. meet.jit.si has a Jibri instance running, so that can be used.

This setup allows you to record stream on server (without default Dropbox) as well as stream meeting (without default YouTube). Steps:

Glossary


  1. https://community.jitsi.org/t/cpu-and-ram-usage-constantly-increases-on-an-idle-jitsi-server/78210/4 ↩︎