1
This commit is contained in:
parent
c2c3d91d76
commit
b2b40cc6ad
@ -71,7 +71,7 @@ GstElement *RTMPManager::create_pipeline(const Camera &cam)
|
|||||||
const int bitrate = cam.bitrate;
|
const int bitrate = cam.bitrate;
|
||||||
|
|
||||||
const std::string stream_name = cam.name + "_main";
|
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;
|
const std::string location = "rtmp://127.0.0.1:1935/" + app + "/" + stream_name + "?vhost=" + app;
|
||||||
|
|
||||||
// 给关键元素起名字:src, vc, enc, par, mux, sink, tee
|
// 给关键元素起名字:src, vc, enc, par, mux, sink, tee
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user