From 2fcd301b60848b68af2ffe58315b5ce2b3dbb4a0 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Feb 20 2021 20:20:25 +0000 Subject: Improve finalize script --- diff --git a/jibri/finalize_recording.sh b/jibri/finalize_recording.sh index f603158..ce4590e 100644 --- a/jibri/finalize_recording.sh +++ b/jibri/finalize_recording.sh @@ -1,3 +1,11 @@ #! /bin/sh # This script is called after recording has finished. +# It is called with a single argument: The directory of +# the recording. In that directory, two files can be expected: +# - A mp4 video file named roomname_YYYY-MM-DD-hh-mm-ss.mp4 +# - A file metadata.json, containing additional info. +# # TODO: Implement something useful. +( + echo "Recording is located at $1" +) > /var/log/jibri/finalize.log 2>&1