How can we further reduce the latency for RTSP streaming(sub 100ms)? Pipelines given

In running Jetson Nano + RaspberryPi camera v2, glass to glass latency is ~0.1 second.

$ gst-launch-1.0 nvarguscamerasrc ! nvv4l2h265enc maxperf-enable=1 ! h265parse ! nvv4l2decoder ! nvoverlaysink

External Media
But in RTSP streaming, it is ~1.4 second.

./test-launch "nvarguscamerasrc ! nvv4l2h265enc maxperf-enable=1 ! h265parse ! rtph265pay name=pay0 pt=96"

External Media

Looks like most latency is from network. Not sure but there might be parameters in rtph265pay that you can tune to get lower latency. For this we are not able to suggest further. Need other users to share experience. Or you may go to

1 Like