1
0
Fork 0

add timeout

This commit is contained in:
Christopher Latza 2020-06-12 17:40:25 +02:00
parent 0539ec8377
commit cef16afe52
1 changed files with 1 additions and 1 deletions

View File

@ -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...";