From ffba10350b813dee24b238000ad45f13a75ea390 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Sat, 23 Jul 2022 10:24:12 +0200 Subject: [PATCH] feat: allow mjpeg as valid parameter This allows to use mjpg or mjpeg in mode: section of config Signed-off-by: Stephan Wendel --- libs/init_stream.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/init_stream.sh b/libs/init_stream.sh index 6b6c293..e499580 100755 --- a/libs/init_stream.sh +++ b/libs/init_stream.sh @@ -26,7 +26,7 @@ function construct_streamer { mode="$(get_param "cam ${cams}" mode)" check_section "${cams}" case ${mode} in - mjpg) + mjpg | mjpeg) MJPG_INSTANCES+=( "${cams}" ) ;; rtsp)