From 2c2441f2e1b70184969caaed6d1fdd98bfd22e35 Mon Sep 17 00:00:00 2001 From: cxh Date: Tue, 14 Oct 2025 17:30:47 +0800 Subject: [PATCH] temp --- src/main.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b13b314..ad87981 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,20 +59,6 @@ int main() std::thread rtsp_thread; std::thread mqtt_thread; - // 启动 RTSP 线程(如果启用) - if (ENABLE_RTSP_THREAD) - { - rtsp_thread = std::thread([&]() - { - RTSPManager::start(g_app_config.cameras); - rtsp_thread_exited.store(true, std::memory_order_relaxed); }); - LOG_INFO("[MAIN] RTSP thread started"); - } - else - { - LOG_INFO("[MAIN] RTSP thread disabled by build-time toggle"); - } - // 启动 MQTT 线程(如果启用) if (ENABLE_MQTT_THREAD) {