„start.php“ ändern
This commit is contained in:
parent
d3821293c5
commit
619d61b8b4
|
@ -56,8 +56,8 @@ while(TRUE)
|
||||||
|
|
||||||
system("rtmpdump -r ".$StreamURL." -m 15 -o /dev/null");
|
system("rtmpdump -r ".$StreamURL." -m 15 -o /dev/null");
|
||||||
|
|
||||||
if(($lastOnlineTime + 60) < time())
|
if(($lastOnlineTime + 60) < time())
|
||||||
{
|
{
|
||||||
echo "Sending end info to discord...";
|
echo "Sending end info to discord...";
|
||||||
$result = file_get_contents($DiscordWebhook, false, stream_context_create($endOptions));
|
$result = file_get_contents($DiscordWebhook, false, stream_context_create($endOptions));
|
||||||
echo "done.\n";
|
echo "done.\n";
|
||||||
|
|
Loading…
Reference in New Issue