test
This commit is contained in:
parent
0ac1f0a670
commit
e524858cef
@ -36,7 +36,7 @@ GstRTSPMediaFactory *RTSPManager::create_media_factory(const Camera &cam)
|
||||
",height=" + std::to_string(out_height) +
|
||||
",framerate=" + std::to_string(cam.fps) + "/1"
|
||||
" ! queue max-size-buffers=1 leaky=downstream" // 最小队列
|
||||
" ! mpph264enc bps=4000000 gop=" +
|
||||
" ! mpph264enc bps=2000000 gop=" +
|
||||
std::to_string(cam.fps) + " " // 固定 4Mbps
|
||||
" ! h264parse"
|
||||
" ! rtph264pay name=pay0 pt=96 config-interval=1 )"; // 每秒发送 SPS/PPS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user