Skip to content

Instantly share code, notes, and snippets.

@dimaskiddo
Created July 10, 2020 09:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save dimaskiddo/57feab843b9c4d3db144b1fd58dabfc3 to your computer and use it in GitHub Desktop.
Save dimaskiddo/57feab843b9c4d3db144b1fd58dabfc3 to your computer and use it in GitHub Desktop.
Jitsi Jibri MinIO Setup Guide

How to Automatic Upload Jibri Recording Files to MinIO

Following tutorial will guide you how to automatic upload your Jibri recording files to your own on-premises, cloud, or dedicated servers MinIO.

Escalate Privileged

Before we begin you must make sure that you own the administration / root permission access by running following command:

sudo su

Installing Dependencies

Installing MinIO Client

wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/archive/mc.RELEASE.2019-08-29T00-40-57Z
chmod 755 /usr/local/bin/mc

Installing Jibri MinIO

Installing Jibri MinIO Script

wget -O /usr/local/bin/jibri-minio https://gist.githubusercontent.com/dimaskiddo/ad9088d96fb6192a6ee7cced026f2301/raw/fe990698422c1862a5dc39bbd075682d912243f9/jibri-minio.sh
chmod 755 /usr/local/bin/jibri-minio

Configure Jibri MinIO Script

nano /usr/local/bin/jibri-minio

Change following line:

MC_PROTOCOL="YOUR_MINIO_PROTOCOL_HTTP_OR_HTTPS"
MC_ACCESS_KEY="YOUR_MINIO_ACCESS_KEY"
MC_SECRET_KEY="YOUR_MINIO_SECRET_KEY"
MC_ENDPOINT="YOUR_MINIO_ENDPOINT"

Example:

MC_PROTOCOL="https"
MC_ACCESS_KEY="ThisIsYourMinIOAccessKey"
MC_SECRET_KEY="ThisIsYourMinIOSecretKey"
MC_ENDPOINT="minio.conference.com"

Re-Configure Jibri

Configure Jibri

nano /etc/jitsi/jibri/config.json
// Change finalize_recording_script_path to Jibri MinIO script
"finalize_recording_script_path": "/usr/local/bin/jibri-minio",

Restart Jibri Service

systemctl restart jibri
systemctl status jibri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment