Browse Source

Added sleep to config

master
Sándor 6 months ago
parent
commit
41997d664f
3 changed files with 2 additions and 1 deletions
  1. BIN
      .gitignore
  2. +1
    -0
      config.example.json
  3. +1
    -1
      record.php

BIN
.gitignore View File


+ 1
- 0
config.example.json View File

@ -4,5 +4,6 @@
"hls":"http:\/\/127.0.0.1:8080\/hls\/live.stream.m3u8",
"pid":"\/home\/example\/hls-recorder\/ffmpeg-flock",
"mail":["[email protected]","[email protected]"],
"sleep":5,
"loglevel":1
}

+ 1
- 1
record.php View File

@ -93,6 +93,6 @@ while (true) :
else
logger(1, 'API can not be accessed');
sleep(5);
sleep($_set->sleep);
endwhile;

Loading…
Cancel
Save