add timeout
This commit is contained in:
parent
0539ec8377
commit
cef16afe52
|
@ -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...";
|
||||
|
|
Loading…
Reference in New Issue