This commit is contained in:
cxh 2025-12-29 13:30:56 +08:00
parent 987ef0aa52
commit a0f6d9ca4b

View File

@ -120,7 +120,7 @@ GstElement* RTMPManager::create_pipeline(const Camera& cam)
std::to_string(bitrate) + " gop=" + std::to_string(fps) + std::to_string(bitrate) + " gop=" + std::to_string(fps) +
" rc-mode=cbr " " rc-mode=cbr "
" header-mode=each-idr " " header-mode=each-idr "
" ! h264parse config-interval=1 alignment=au " " ! h264parse config-interval=1 "
" ! queue max-size-buffers=5 leaky=downstream " " ! queue max-size-buffers=5 leaky=downstream "
" ! flvmux streamable=true " " ! flvmux streamable=true "
" ! rtmpsink location=\"" + " ! rtmpsink location=\"" +