This commit is contained in:
cxh 2025-10-17 16:11:45 +08:00
parent 394ec7bc81
commit f7919d5851

View File

@ -89,7 +89,7 @@ GstElement *RTMPManager::create_pipeline(const Camera &cam)
"\" sync=false " "\" sync=false "
"t. ! queue ! fpsdisplaysink name=fpsprobe text-overlay=false video-sink=fakesink sync=false"; "t. ! queue ! fpsdisplaysink name=fpsprobe text-overlay=false video-sink=fakesink sync=false";
LOG_INFO("[RTMP] Pipeline: " + pipeline_str); // LOG_INFO("[RTMP] Pipeline: " + pipeline_str);
GError *error = nullptr; GError *error = nullptr;
GstElement *pipeline = gst_parse_launch(pipeline_str.c_str(), &error); GstElement *pipeline = gst_parse_launch(pipeline_str.c_str(), &error);