Hi,
For comparison, you may try
- execute sudo nvpmodel -m 0 and sudo jetson_clocks
- UDP:
Gstreamer TCPserversink 2-3 seconds latency - #5 by DaneLLL - try IDR interval = 15 or 30
- use videotestsrc in the test-launch command
The latency may be from the rtspsrc, This should be identified by comparing with videotestsrc. Besides, RTSP may have higher latency than UDP.