This commit is contained in:
cxh 2026-01-06 17:35:06 +08:00
parent b98d67d590
commit 7899be41e8

View File

@ -115,7 +115,7 @@ GstElement* RTMPManager::create_pipeline(const Camera& cam)
{
const int fps = 30;
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 rtmp_url = "rtmp://127.0.0.1:1935/" + stream_name;