From a11ffc5564876adec8322256995cda6162f87cdd Mon Sep 17 00:00:00 2001 From: cxh Date: Wed, 15 Oct 2025 15:50:32 +0800 Subject: [PATCH] temp --- src/rtmp_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtmp_manager.cpp b/src/rtmp_manager.cpp index d55c965..eb7e0c6 100644 --- a/src/rtmp_manager.cpp +++ b/src/rtmp_manager.cpp @@ -107,7 +107,7 @@ RTMPManager::StreamResultInfo RTMPManager::start_camera(const Camera &cam, Strea ctx_ptr->thread = std::thread([cam, type, ctx_ptr]() { RTMPManager::stream_loop(cam, type, ctx_ptr); }); - if (fut.wait_for(std::chrono::seconds(5)) == std::future_status::ready) + if (fut.wait_for(std::chrono::seconds(10)) == std::future_status::ready) { res = fut.get(); }