From 77a1275c49d2c48a79719eb289dcb7b2144344eb Mon Sep 17 00:00:00 2001 From: roleo Date: Fri, 4 Oct 2024 18:35:42 +0200 Subject: [PATCH] Fix missing MODEL_SUFFIX --- src/static/static/yi-hack/script/service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/static/yi-hack/script/service.sh b/src/static/static/yi-hack/script/service.sh index 64732d5..b2dbfa8 100755 --- a/src/static/static/yi-hack/script/service.sh +++ b/src/static/static/yi-hack/script/service.sh @@ -127,7 +127,7 @@ start_rtsp() echo "streams:" > /tmp/go2rtc.yaml if [ "$RTSP_RES" == "high" ] || [ "$RTSP_RES" == "both" ]; then echo " ch0_0.h264:" >> /tmp/go2rtc.yaml - echo " - exec:h264grabber -m h52ga -r high#backchannel=0" >> /tmp/go2rtc.yaml + echo " - exec:h264grabber -m $MODEL_SUFFIX -r high#backchannel=0" >> /tmp/go2rtc.yaml fi if [ "$RTSP_RES" != "low" ] && [ "$RTSP_AUDIO_COMPRESSION" == "aac" ] ; then echo " - exec:h264grabber -m $MODEL_SUFFIX -r none -a#backchannel=0" >> /tmp/go2rtc.yaml