diff --git a/src/camera.cpp b/src/camera.cpp index 2399cd2..ad8bcaf 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -107,9 +107,8 @@ bool Loop::exec() RecLoop::RecLoop(shared_t *sharedRes, QThread *thr, QObject *parent) : Loop(sharedRes, thr, parent) { - recProc = 0; - imgProc = 0; - heartBeat = 1800; + recProc = 0; + imgProc = 0; } void RecLoop::init() @@ -139,7 +138,7 @@ void RecLoop::updateCmd() recArgs << "-f" << "hls"; recArgs << "-hls_time" << "2"; recArgs << "-hls_list_size" << "1000"; - recArgs << "-hls_flags" << "append_list"; + recArgs << "-hls_flags" << "append_list+omit_endlist"; recArgs << "-rtsp_transport" << "tcp"; recArgs << "-stimeout" << "3000"; recArgs << "-t" << QString::number(heartBeat); diff --git a/src/common.h b/src/common.h index 888a94d..85329ab 100644 --- a/src/common.h +++ b/src/common.h @@ -29,7 +29,7 @@ using namespace std; -#define APP_VER "3.0.t18" +#define APP_VER "3.0.t19" #define APP_NAME "Motion Watch" #define APP_BIN "mow" #define REC_LOG_NAME "rec_log_lines.html"