Jibri recording on AWS S3

Hi Damencho,

We are having 2 servers like Jitsi and Jibri. We are able to store recordings on local storage of Jibri Server. We would like to host all recordings on AWS S3 bucket.

  1. How we configure AWS S3 bucket for storage of JIbri Recordings?
  2. How we cue conferences when one conference is going on with recording on Jibri, once first finishes second will start immediately.

Do let me know if you need any clarification.

Regards,
Subodh

Use the finalize recording script to upload the finished conference’s record to S3. Search for “finalize recording” in the forum.

Hi Emrah,

Can you share the script here?

Regards,
Subodh

Hi Emrah,

Hope following script you were saying;’

=============
#!/bin/bash
set -e

FOLDER=1 KEY={FOLDER##*/}
VIDEO_PATH=$(find FOLDER -name '*.mp4' | head -1) VIDEO_NAME=(basename VIDEO_PATH) VIDEO_NAME_KEY=(echo $VIDEO_NAME | sed “s/.mp4/_$KEY.mp4/”)

[[ ! -f “$VIDEO_PATH” ]] && exit 1
cp $VIDEO_PATH /tmp/$VIDEO_NAME_KEY

exit 0

1 Like