How to run RTP Camera in deepstream on Nano

Hi,
The following steps are verified on DS4.0-Jetson Nano. Please refer to it and adapt to your usecase.

1 Start rtsp server:

sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev
gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
[test-launch.c download from: https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c]
./test-launch "filesrc location=sample_1080p_h264.mp4 ! qtdemux ! rtph264pay name=pay0 pt=96 "

2 Modify source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt

[tiled-display]
[b]rows=1
columns=1[/b]

[source0]
#Type - 1=CameraV4L2 2=URI 3=MultiURI  4=RTSP
<b>type=4</b>
#uri=file://../../streams/sample_720p.mp4
[b]uri=rtsp://127.0.0.1:8554/test
num-sources=1[/b]

[streammux]
<b>batch-size=1</b>

[primary-gie]
<b>batch-size=1</b>

3 Run

$ sudo jetson_clocks
$ deepstream-app -c source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt