temp
This commit is contained in:
parent
8c6c0802aa
commit
2c2441f2e1
14
src/main.cpp
14
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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user