Following tutorial will guide you how to automatic upload your Jibri recording files to your own on-premises, cloud, or dedicated servers MinIO.
Before we begin you must make sure that you own the administration / root permission access by running following command:
sudo su
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
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
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"
nano /etc/jitsi/jibri/config.json
// Change finalize_recording_script_path to Jibri MinIO script
"finalize_recording_script_path": "/usr/local/bin/jibri-minio",
systemctl restart jibri
systemctl status jibri