fix: fix error in ustreamer.sh

Obviously start_param is missing device, this leads to not starting ustreamer

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2023-05-23 04:45:15 +02:00
parent 4f69c9476f
commit 308109323a
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639

View File

@ -45,6 +45,9 @@ run_ustreamer() {
start_param=( --host 127.0.0.1 -p "${pt}" )
fi
# Add device
start_param+=( -d "${dev}" --device-timeout=2 )
# Use MJPEG Hardware encoder if possible
if [ "$(detect_mjpeg "${cam_sec}")" = "1" ]; then
start_param+=( -m MJPEG --encoder=HW )