1
0
Fork 0

dont record

This commit is contained in:
Christopher Latza 2020-06-12 17:41:34 +02:00
parent cef16afe52
commit cabf418425
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ while(TRUE)
$result = file_get_contents($DiscordWebhook, false, stream_context_create($startOptions));
echo "done.\n";
system("ffmpeg -rw_timeout 100000 -i ".$StreamURL." tmp/rtmp/".$videoFileName);
//system("rtmpdump -r ".$StreamURL." -m 15 -o /dev/null");
system("rtmpdump -r ".$StreamURL." -m 15 -o /dev/null");
echo "Sending end info to discord...";
$result = file_get_contents($DiscordWebhook, false, stream_context_create($endOptions));