diff --git a/src/lib/stream/pipeline/fake_pipeline.rs b/src/lib/stream/pipeline/fake_pipeline.rs index 9e721256..1e3ef27e 100644 --- a/src/lib/stream/pipeline/fake_pipeline.rs +++ b/src/lib/stream/pipeline/fake_pipeline.rs @@ -77,7 +77,7 @@ impl FakePipeline { " ! h264parse", " ! capsfilter name={filter_name} caps=video/x-h264,profile={profile},stream-format=avc,alignment=au,width={width},height={height},framerate={interval_denominator}/{interval_numerator}", " ! tee name={video_tee_name} allow-not-linked=true", - " ! rtph264pay aggregate-mode=zero-latency config-interval=10 pt=96", + " ! rtph264pay aggregate-mode=zero-latency config-interval=-1 pt=96", " ! tee name={rtp_tee_name} allow-not-linked=true" ), pattern = pattern, diff --git a/src/lib/stream/pipeline/qr_pipeline.rs b/src/lib/stream/pipeline/qr_pipeline.rs index 1cd1a2c5..e2d1739a 100644 --- a/src/lib/stream/pipeline/qr_pipeline.rs +++ b/src/lib/stream/pipeline/qr_pipeline.rs @@ -73,7 +73,7 @@ impl QrPipeline { " ! h264parse", " ! capsfilter name={filter_name} caps=video/x-h264,profile={profile},stream-format=avc,alignment=au,width={width},height={height},framerate={interval_denominator}/{interval_numerator}", " ! tee name={video_tee_name} allow-not-linked=true", - " ! rtph264pay aggregate-mode=zero-latency config-interval=10 pt=96", + " ! rtph264pay aggregate-mode=zero-latency config-interval=-1 pt=96", " ! tee name={rtp_tee_name} allow-not-linked=true" ), profile = "constrained-baseline", diff --git a/src/lib/stream/pipeline/v4l_pipeline.rs b/src/lib/stream/pipeline/v4l_pipeline.rs index 3df98faf..37d410ae 100644 --- a/src/lib/stream/pipeline/v4l_pipeline.rs +++ b/src/lib/stream/pipeline/v4l_pipeline.rs @@ -60,7 +60,7 @@ impl V4lPipeline { " ! h264parse", // Here we need the parse to help the stream-format and alignment part, which is being fixed here because avc/au seems to reduce the CPU usage in the RTP payloading part. " ! capsfilter name={filter_name} caps=video/x-h264,stream-format=avc,alignment=au,width={width},height={height},framerate={interval_denominator}/{interval_numerator}", " ! tee name={video_tee_name} allow-not-linked=true", - " ! rtph264pay aggregate-mode=zero-latency config-interval=10 pt=96", + " ! rtph264pay aggregate-mode=zero-latency config-interval=-1 pt=96", " ! tee name={rtp_tee_name} allow-not-linked=true" ), device = device, diff --git a/src/lib/stream/rtsp/rtsp_server.rs b/src/lib/stream/rtsp/rtsp_server.rs index 2c52677a..30730c53 100644 --- a/src/lib/stream/rtsp/rtsp_server.rs +++ b/src/lib/stream/rtsp/rtsp_server.rs @@ -169,7 +169,7 @@ impl RTSPServer { " ! queue leaky=downstream flush-on-eos=true silent=true max-size-buffers=0", " ! capsfilter caps={rtp_caps:?}", " ! rtph264depay", - " ! rtph264pay name=pay0 aggregate-mode=zero-latency config-interval=10 pt=96", + " ! rtph264pay name=pay0 aggregate-mode=zero-latency config-interval=-1 pt=96", ), socket_path = socket_path, rtp_caps = rtp_caps,