Skip to content

Instantly share code, notes, and snippets.

@rahulmr
Forked from dimaskiddo/jitsi-jibri-minio.md
Created March 7, 2022 08:40
Show Gist options
  • Save rahulmr/a5eb2bf318614ef92e7a290167479969 to your computer and use it in GitHub Desktop.
Save rahulmr/a5eb2bf318614ef92e7a290167479969 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