mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 05:27:24 +00:00
fix rtmp-stream stalling execution
Run rtmp-stream.sh in the background, preventing wz_user.sh from completing execution
This commit is contained in:
parent
f1fe733db6
commit
c5c93d27f2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user