GstRtspServer has huge delay and latency in jetpack-4.5 and DS-5.1

• Hardware Platform (Jetson / GPU):Jetson
• DeepStream Version:5.1
• JetPack Version (valid for Jetson only):4.5
• TensorRT Version:7.1.3

Hi guys,
I want to send results of gstreamer pipeline streams into server, and for this I used GstRtspServer and sample codes. I before used this sample code with jetapck 4.4 and DS-5.0, every thigs was relatively good, but when I migrate to jetapck 4.5 and DS-5.1, the encoded streams in server side has huge latency about 10 second delay, why this issues is occurred? This is bug in the new version?

1- When I don’t use GstRtspServer and only use udpsink in the client side and then use gst-launch-1.0 udpsrc … in the server side the every this is good.

2- When I use GstRtspServer plugin in the client side, then I can easily use ffplay(ffmpeg) rtsp://localhost:port/ in the server side and easily use in custom applications, but the solution 1 isn’t easy in the server side for usage in custom apps, I have to write the custom plugin for this in the server side.

Hi,
Please share which Jetson platform you use. And in server you run the sample:
deepstream_python_apps/deepstream_test1_rtsp_out.py at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub

Please share the command you run in client. Do you run gstreamer command or use VLC player?

With the information we can try to reproduce the issue.

Jetson Xavier NX

I mentaned in the above post, I don’t use VLC player.
ffplay(ffmpeg) rtsp://localhost:port/

sink sync false

@gharbv,
yes, but has delay.