feat: allow mjpeg as valid parameter

This allows to use mjpg or mjpeg in mode: section of config

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2022-07-23 10:24:12 +02:00
parent 420b77fe5a
commit ffba10350b
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639

View File

@ -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)