This commit is contained in:
cxh 2025-11-14 18:36:50 +08:00
parent 7495a16b25
commit f954b631a7

View File

@ -37,6 +37,8 @@ class RecordManager
// 执行一次全扫描
void scanAll();
void stopAutoScan();
// 查询时间段的录像段
std::vector<RecordSegment> querySegments(const std::string& stream, int64_t start_ms, int64_t end_ms);
@ -70,7 +72,6 @@ class RecordManager
// === 自动扫描线程 ===
void startAutoScan(int interval_sec);
void stopAutoScan();
std::thread scan_thread_;
std::atomic<bool> running_{false};