diff --git a/src/rtsp_manager.cpp b/src/rtsp_manager.cpp index 7966723..c184abd 100644 --- a/src/rtsp_manager.cpp +++ b/src/rtsp_manager.cpp @@ -35,13 +35,12 @@ GstRTSPMediaFactory *RTSPManager::create_media_factory(const Camera &cam) " ! video/x-raw,format=NV12,width=" + std::to_string(out_width) + ",height=" + std::to_string(out_height) + ",framerate=" + std::to_string(cam.fps) + "/1" - " ! queue max-size-time=100000000" - " ! videoconvert" + " ! queue max-size-buffers=1 leaky=downstream" " ! mpph264enc rc-mode=cbr bps=" + std::to_string(cam.bitrate) + " gop=" + std::to_string(cam.fps) + - " profile=high" - " ! h264parse" + " header-mode=1" + " ! h264parse config-interval=1" " ! rtph264pay name=pay0 pt=96 )"; GstRTSPMediaFactory *factory = gst_rtsp_media_factory_new();