fix rtmp-stream stalling execution

Run rtmp-stream.sh in the background, preventing wz_user.sh from completing execution
This commit is contained in:
Alfonso Gamboa 2022-06-27 23:55:27 -07:00
parent f1fe733db6
commit c5c93d27f2

View File

@ -674,7 +674,7 @@ if ([[ "$RTSP_LOW_RES_ENABLED" == "true" ]] || [[ "$RTSP_HI_RES_ENABLED" == "tru
echo "delay RTMP server" echo "delay RTMP server"
#Follow the delay from the RTSP server #Follow the delay from the RTSP server
sleep 5 sleep 5
/opt/wz_mini/bin/rtmp-stream.sh "$RMTP_STREAM_SERVICE" "$RTMP_AUDIO" /opt/wz_mini/bin/rtmp-stream.sh "$RMTP_STREAM_SERVICE" "$RTMP_AUDIO" &
fi fi
if [[ "$NIGHT_DROP_DISABLE" == "true" ]]; then if [[ "$NIGHT_DROP_DISABLE" == "true" ]]; then