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) {