From a48b2ef91748605189fee0e947c8fb09cfef1d2b Mon Sep 17 00:00:00 2001 From: cxh Date: Thu, 16 Oct 2025 17:07:50 +0800 Subject: [PATCH] 1 --- 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 e9224e4..e6512d8 100644 --- a/src/rtmp_manager.cpp +++ b/src/rtmp_manager.cpp @@ -105,7 +105,7 @@ GstElement *RTMPManager::create_pipeline(const Camera &cam, StreamType type) "! rtmpsink location=\"rtmp://127.0.0.1/live/" + stream_name + " live=1\" sync=false" - "timeout=5000000 " // 5秒超时(微秒单位) + " timeout=5000000 " // 5秒超时(微秒单位) "async-handling=true"; // 异步错误处理,防止阻塞 LOG_INFO("[RTMP] Creating pipeline for '" + stream_name + "': " + pipeline_str);