How to remove the delay when running deepstream-test3 with rtsp source?

Hi,
I’m running deepstream-test3 with rtsp from IP camera, like this:

./deepstream-test3-app rtsp://admin:password@192.168.1.11:554/h264/ch1/main/av_stream

It works smoothly,but with an about 3 seconds delay.

How to remove the delay? I need a real-time output(500ms at most).

Hi,
The default config file is for Xavier. Please refer to below link to modify it for Jetson Nano:
https://devtalk.nvidia.com/default/topic/1058597/deepstream-sdk/-nano-deepstream-test3-app-not-working-as-expected-for-multiple-video-source/post/5368352/#5368352

Hi,
I’ve done this already.Before I do this ,I can’t even run the rtsp at all.

What I’ve done:
1.replace and modify dstest3_pgie_config.txt for Jetson Nano.
2.replace the prebuilt libs

/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvegltransform.so
/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so.1.0.0

and clean the gstreamer cache with

rm -rf ./~cache/gstreamer-1.0

Please also try
https://devtalk.nvidia.com/default/topic/1058597/deepstream-sdk/-nano-deepstream-test3-app-not-working-as-expected-for-multiple-video-source/post/5368694/#5368694
https://devtalk.nvidia.com/default/topic/1058597/deepstream-sdk/-nano-deepstream-test3-app-not-working-as-expected-for-multiple-video-source/post/5369284/#5369284