From 27c035525940c92e7f53aeab0d240a14da6de01c Mon Sep 17 00:00:00 2001 From: "anil.senocak" Date: Fri, 15 Dec 2023 13:21:48 +0300 Subject: [PATCH] recording mode flag added, default is ffmpeg --- jibri.yml | 1 + jibri/rootfs/defaults/jibri.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/jibri.yml b/jibri.yml index a0b4937..89bac9f 100644 --- a/jibri.yml +++ b/jibri.yml @@ -31,6 +31,7 @@ services: - JIBRI_RECORDING_VIDEO_ENCODE_PRESET - JIBRI_RECORDING_CONSTANT_RATE_FACTOR - JIBRI_RECORDING_FRAMERATE + - JIBRI_RECORDING_MODE - JIBRI_RECORDING_QUEUE_SIZE - JIBRI_RECORDING_STREAMING_MAX_BITRATE - JIBRI_USAGE_TIMEOUT diff --git a/jibri/rootfs/defaults/jibri.conf b/jibri/rootfs/defaults/jibri.conf index 5881d01..28240e0 100644 --- a/jibri/rootfs/defaults/jibri.conf +++ b/jibri/rootfs/defaults/jibri.conf @@ -5,6 +5,7 @@ {{ $JIBRI_RECORDING_VIDEO_ENCODE_PRESET := .Env.JIBRI_RECORDING_VIDEO_ENCODE_PRESET | default "veryfast" -}} {{ $JIBRI_RECORDING_CONSTANT_RATE_FACTOR := .Env.JIBRI_RECORDING_CONSTANT_RATE_FACTOR | default 25 -}} {{ $JIBRI_RECORDING_FRAMERATE := .Env.JIBRI_RECORDING_FRAMERATE | default 30 -}} +{{ $JIBRI_RECORDING_MODE := .Env.JIBRI_RECORDING_MODE | default "ffmpeg" -}} {{ $JIBRI_RECORDING_QUEUE_SIZE := .Env.JIBRI_RECORDING_QUEUE_SIZE | default 4096 -}} {{ $JIBRI_RECORDING_STREAMING_MAX_BITRATE := .Env.JIBRI_RECORDING_STREAMING_MAX_BITRATE | default 2976 -}} {{ $JIBRI_BREWERY_MUC := .Env.JIBRI_BREWERY_MUC | default "jibribrewery" -}} @@ -111,6 +112,7 @@ jibri { recordings-directory = "{{ .Env.JIBRI_RECORDING_DIR | default "/config/recordings" }}" {{ if .Env.JIBRI_FINALIZE_RECORDING_SCRIPT_PATH -}} finalize-script = "{{ .Env.JIBRI_FINALIZE_RECORDING_SCRIPT_PATH }}" + mode = {{ $JIBRI_RECORDING_MODE }} {{ end -}} } {{ if .Env.JIBRI_WEBHOOK_SUBSCRIBERS -}}