1
This commit is contained in:
parent
0907b04ca0
commit
a48b2ef917
@ -105,7 +105,7 @@ GstElement *RTMPManager::create_pipeline(const Camera &cam, StreamType type)
|
|||||||
"! rtmpsink location=\"rtmp://127.0.0.1/live/" +
|
"! rtmpsink location=\"rtmp://127.0.0.1/live/" +
|
||||||
stream_name +
|
stream_name +
|
||||||
" live=1\" sync=false"
|
" live=1\" sync=false"
|
||||||
"timeout=5000000 " // 5秒超时(微秒单位)
|
" timeout=5000000 " // 5秒超时(微秒单位)
|
||||||
"async-handling=true"; // 异步错误处理,防止阻塞
|
"async-handling=true"; // 异步错误处理,防止阻塞
|
||||||
|
|
||||||
LOG_INFO("[RTMP] Creating pipeline for '" + stream_name + "': " + pipeline_str);
|
LOG_INFO("[RTMP] Creating pipeline for '" + stream_name + "': " + pipeline_str);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user