Deepstream sdk 5.0 RTSP

I am trying to run Deepstream python example of RTSP camera on jetson nano jetpack 4.4.

I am able to access the RTSP stream using the following command:

gst-launch-1.0 rtspsrc location=rtsp://192.168.X.XX/stream1 ! rtph264depay ! h264parse ! omxh264dec ! nvoverlaysink

But when I try to run it in deepstream, I get this error:
"No such file “rtsp://192.168.X.XX/stream1”

Please let me know how to set the RTSP camera.