From cef16afe522ece671a24e178ef5b78164f7dfe1c Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Fri, 12 Jun 2020 17:40:25 +0200 Subject: [PATCH] add timeout --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 86c33f2..9978941 100644 --- a/start.php +++ b/start.php @@ -54,7 +54,7 @@ while(TRUE) $result = file_get_contents($DiscordWebhook, false, stream_context_create($startOptions)); echo "done.\n"; - system("ffmpeg -rw_timeout 10000 -i ".$StreamURL." tmp/rtmp/".$videoFileName); + system("ffmpeg -rw_timeout 100000 -i ".$StreamURL." tmp/rtmp/".$videoFileName); //system("rtmpdump -r ".$StreamURL." -m 15 -o /dev/null"); echo "Sending end info to discord...";