This commit is contained in:
cxh 2025-10-17 17:26:38 +08:00
parent c2c3d91d76
commit b2b40cc6ad

View File

@ -71,7 +71,7 @@ GstElement *RTMPManager::create_pipeline(const Camera &cam)
const int bitrate = cam.bitrate;
const std::string stream_name = cam.name + "_main";
const std::string app = "live";
const std::string app = "camera";
const std::string location = "rtmp://127.0.0.1:1935/" + app + "/" + stream_name + "?vhost=" + app;
// 给关键元素起名字src, vc, enc, par, mux, sink, tee