1
This commit is contained in:
parent
b98d67d590
commit
7899be41e8
@ -115,7 +115,7 @@ GstElement* RTMPManager::create_pipeline(const Camera& cam)
|
|||||||
{
|
{
|
||||||
const int fps = 30;
|
const int fps = 30;
|
||||||
const int bitrate = cam.bitrate; // 3.5M~4M
|
const int bitrate = cam.bitrate; // 3.5M~4M
|
||||||
const int gop = 15;
|
const int gop = 4;
|
||||||
|
|
||||||
const std::string stream_name = cam.name;
|
const std::string stream_name = cam.name;
|
||||||
const std::string rtmp_url = "rtmp://127.0.0.1:1935/" + stream_name;
|
const std::string rtmp_url = "rtmp://127.0.0.1:1935/" + stream_name;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user