1
0
Fork 0

add record video

This commit is contained in:
Christopher Latza 2020-06-16 00:37:05 +02:00
parent aac0dc2b13
commit 3d7d42ed7b
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ while(TRUE)
echo "done.\n";
system('screen -dm ffmpeg -i '.$StreamURL.' tmp/rtmp/'.$videoFileName);
sleep(1);
$lastOnlineTime = time();
system("rtmpdump -r ".$StreamURL." -m 15 -o /dev/null");