video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2023-12-26 18a05d269516a5e33d8460291c2f93e73d95adce
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_;