v3.0.t19
-the ffmpeg auto refresh logic is working, just need to shorten the frequency by setting recloop's heartbeat to default. -added hls flag "omit_endlist" so the auto refresh doesn't cut off the stream at the web browser end.
This commit is contained in:
parent
71fc5b0bc2
commit
4300651a52
|
@ -109,7 +109,6 @@ RecLoop::RecLoop(shared_t *sharedRes, QThread *thr, QObject *parent) : Loop(shar
|
||||||
{
|
{
|
||||||
recProc = 0;
|
recProc = 0;
|
||||||
imgProc = 0;
|
imgProc = 0;
|
||||||
heartBeat = 1800;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecLoop::init()
|
void RecLoop::init()
|
||||||
|
@ -139,7 +138,7 @@ void RecLoop::updateCmd()
|
||||||
recArgs << "-f" << "hls";
|
recArgs << "-f" << "hls";
|
||||||
recArgs << "-hls_time" << "2";
|
recArgs << "-hls_time" << "2";
|
||||||
recArgs << "-hls_list_size" << "1000";
|
recArgs << "-hls_list_size" << "1000";
|
||||||
recArgs << "-hls_flags" << "append_list";
|
recArgs << "-hls_flags" << "append_list+omit_endlist";
|
||||||
recArgs << "-rtsp_transport" << "tcp";
|
recArgs << "-rtsp_transport" << "tcp";
|
||||||
recArgs << "-stimeout" << "3000";
|
recArgs << "-stimeout" << "3000";
|
||||||
recArgs << "-t" << QString::number(heartBeat);
|
recArgs << "-t" << QString::number(heartBeat);
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#define APP_VER "3.0.t18"
|
#define APP_VER "3.0.t19"
|
||||||
#define APP_NAME "Motion Watch"
|
#define APP_NAME "Motion Watch"
|
||||||
#define APP_BIN "mow"
|
#define APP_BIN "mow"
|
||||||
#define REC_LOG_NAME "rec_log_lines.html"
|
#define REC_LOG_NAME "rec_log_lines.html"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user