csrc/wrapper.hpp
@@ -46,7 +46,7 @@ int GetInfoRecorder(std::string &recID, int &index, std::string &path); public: void GB28181(){gb_ = 1;} void gb28181(){gb_ = 1;} void CPUDec(){cpu_ = 1;} void AudioSwitch(const bool a); void SetRecMinCacheTime(const int mind, const int maxd); @@ -73,6 +73,7 @@ bool run_dec_; bool run_stream_; bool run_rec_; bool work_start; // decoder 参数 std::unique_ptr<std::thread> thread_; std::atomic_bool stop_stream_;