This commit is contained in:
cxh 2025-11-14 18:40:00 +08:00
parent f954b631a7
commit e13517b579

View File

@ -80,12 +80,8 @@ int main()
// ---------- 退出清理 ----------
LOG_INFO("[MAIN] Shutdown requested. Stopping RTMP streams...");
// 1) 停止 RecordManager 自动扫描线程
if (g_record_manager)
{
g_record_manager->stopAutoScan();
LOG_INFO("[MAIN] RecordManager auto-scan stopped.");
}
// 停止 RecordManager 自动扫描线程
if (g_record_manager) g_record_manager->stopAutoScan();
RTMPManager::stop_all();