Skip to content

Commit

Permalink
Fix missing MODEL_SUFFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed Oct 4, 2024
1 parent 82e537d commit 77a1275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static/static/yi-hack/script/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77a1275

Please sign in to comment.