This commit is contained in:
cxh 2025-11-14 16:05:51 +08:00
parent 204f1786b1
commit 745f49fd46

View File

@ -136,7 +136,7 @@ static void handle_record_query_request(const nlohmann::json& req)
// 2. 计算 stream 名 // 2. 计算 stream 名
// loc → stream比如 // loc → stream比如
// 0 → "AHD1_main" // 0 → "AHD1_main"
std::string stream = RTMPManager::loc_to_stream(loc); std::string stream = RecordManager::loc_to_stream(loc);
if (stream.empty()) if (stream.empty())
{ {
LOG_WARN("[record_query] invalid loc: " + std::to_string(loc)); LOG_WARN("[record_query] invalid loc: " + std::to_string(loc));