소스 검색

fix rtmp-stream stalling execution

Run rtmp-stream.sh in the background, preventing wz_user.sh from completing execution
Alfonso Gamboa 3 년 전
부모
커밋
c5c93d27f2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SD_ROOT/wz_mini/etc/init.d/wz_user.sh

+ 1 - 1
SD_ROOT/wz_mini/etc/init.d/wz_user.sh

@@ -674,7 +674,7 @@ if ([[ "$RTSP_LOW_RES_ENABLED" == "true" ]] || [[ "$RTSP_HI_RES_ENABLED" == "tru
 	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"
+	/opt/wz_mini/bin/rtmp-stream.sh "$RMTP_STREAM_SERVICE" "$RTMP_AUDIO" &
 fi
 
 if [[ "$NIGHT_DROP_DISABLE" == "true" ]]; then