| | |
| | | public: //recorder |
| | | void BuildRecorder(const char* id,const char *dir, const int mind, const int maxd); |
| | | int FireRecorder(const char* sid,const int64_t &id); |
| | | void GetInfoRecorder(std::string &sid, int &index, std::string &path); |
| | | |
| | | void GetInfoRecorder(int &index, std::string &path); |
| | | std::string GetRecorderID(const std::string &path); |
| | | // active api |
| | | void ActiveRecorder(const char *dir, const int mind, const int maxd, |
| | | FUNC_REC func); |
| | |
| | | |
| | | //passive api |
| | | struct record_file_info{ |
| | | std::string id; |
| | | int file_frame_index; |
| | | std::string file_path; |
| | | }; |
| | | std::list<struct record_file_info> list_rec_; |
| | | std::unordered_map<std::string, std::string> list_rec_map_; |
| | | |
| | | std::mutex mutex_rec_; |
| | | |
| | | std::list<pic_bgr24> list_pic_; |