add notes to wz_user.sh

This commit is contained in:
Alfonso Gamboa 2022-06-05 21:11:54 -07:00
parent 14c853dc35
commit 11c9132d82
2 changed files with 5 additions and 3 deletions

View File

@ -537,7 +537,8 @@ if [[ "$RTSP_LOW_RES_ENABLED" == "true" ]]; then
fi
if [[ "$RTSP_LOW_RES_ENABLED" == "true" ]] || [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then
echo "wait for iCamera"
echo "delay RTSP for iCamera"
#This delay is required. Sometimes, if you start the rtsp server too soon, live view will break on the app.
sleep 5
LD_LIBRARY_PATH=/media/mmc/wz_mini/lib /media/mmc/wz_mini/bin/v4l2rtspserver $AUDIO_CH $AUDIO_FMT -U $RTSP_LOGIN:$RTSP_PASSWORD -P $RTSP_PORT $DEVICE1 $DEVICE2 &
fi
@ -546,7 +547,8 @@ if ([[ "$RTSP_LOW_RES_ENABLED" == "true" ]] || [[ "$RTSP_HI_RES_ENABLED" == "tru
if [[ "$RTMP_STREAM_DISABLE_AUDIO" == "true" ]]; then
RMTP_AUDIO="no_audio"
fi
echo "wait for RTSP server"
echo "delay RTMP server"
#Follow the delay from the RTSP server
sleep 5
/opt/wz_mini/bin/rtmp-stream.sh $RMTP_STREAM_SERVICE $RTMP_AUDIO
fi

View File

@ -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
3509a2f8b4b79ddb3fd06c6ea224f8e8 SD_ROOT/wz_mini/etc/init.d/wz_user.sh
ec8df2158af40fe2eb7efd3db841379e 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