From d48578df86a516a693a178a4ab2ca87f0a1bd0ea Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Sat, 4 Jun 2022 06:09:50 -0700 Subject: [PATCH] fix rtsp variables for v2 --- SD_ROOT/wz_mini/etc/init.d/wz_user.sh | 4 ++-- file.chk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SD_ROOT/wz_mini/etc/init.d/wz_user.sh b/SD_ROOT/wz_mini/etc/init.d/wz_user.sh index 4d704d6..e920b73 100755 --- a/SD_ROOT/wz_mini/etc/init.d/wz_user.sh +++ b/SD_ROOT/wz_mini/etc/init.d/wz_user.sh @@ -432,7 +432,7 @@ if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then if [[ "$RTSP_HI_RES_ENC_PARAMETER" != "" ]]; then if [[ "$V2" == "true" ]]; then - watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:0:4:$RTSP_LOW_RES_ENC_PARAMETER" > /dev/null 2>&1 & + watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:0:4:$RTSP_HI_RES_ENC_PARAMETER" > /dev/null 2>&1 & else watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:44:4:$RTSP_HI_RES_ENC_PARAMETER" > /dev/null 2>&1 & fi @@ -440,7 +440,7 @@ if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then if [[ "$RTSP_HI_RES_MAX_BITRATE" != "" ]]; then if [[ "$V2" == "true" ]]; then - watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:28:4:$RTSP_LOW_RES_MAX_BITRATE" > /dev/null 2>&1 & + watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:28:4:$RTSP_HI_RES_MAX_BITRATE" > /dev/null 2>&1 & else watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:52:4:$RTSP_HI_RES_MAX_BITRATE" > /dev/null 2>&1 & fi diff --git a/file.chk b/file.chk index fa3fcce..03e7963 100644 --- a/file.chk +++ b/file.chk @@ -3,7 +3,7 @@ d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/mnt/.gitignore 34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config 58d3a10a80422e3aa1b49b046e17db5c SD_ROOT/wz_mini/etc/init.d/wz_cam.sh 0f0cb8cbbf7007cda59dc684c37d185f SD_ROOT/wz_mini/etc/init.d/v3_init.sh -d80ce02634b96ef01607053b081631f7 SD_ROOT/wz_mini/etc/init.d/wz_user.sh +c6334010847c6e64ce0df2b8fc0e0330 SD_ROOT/wz_mini/etc/init.d/wz_user.sh 86082f8c1b7de18463731372bac630d1 SD_ROOT/wz_mini/etc/init.d/wz_post.sh e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab 840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config