Deepstream-app issues with rtsp stream

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.0.2
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 440+
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am having issues connecting to an rtsp camera. I can play teh rtsp url in vlc with no issues from the same computer.

I am using the deepstream-app with following config:

#Type - 1=CameraV4L2 2=URI 3=MultiURI
uri=<rtsp stream>

The logs are as follows:

0:00:02.948336130     1 0x55aa08ed9450 WARN                 rtspsrc gstrtspsrc.c:6161:gst_rtspsrc_send:<src_elem0> error: Unhandled error
0:00:02.948371513     1 0x55aa08ed9450 WARN                 rtspsrc gstrtspsrc.c:6161:gst_rtspsrc_send:<src_elem0> error: Bad Request (400)
ERROR from src_elem0: Unhandled error
Debug info: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstRTSPSrc:src_elem0:
Bad Request (400)
0:00:02.948477595     1 0x55aa08ed9450 WARN                 rtspsrc gstrtspsrc.c:7548:gst_rtspsrc_open:<src_elem0> can't get sdp
0:00:02.948521221     1 0x55aa08ed9450 WARN                 rtspsrc gstrtspsrc.c:8086:gst_rtspsrc_play:<src_elem0> failed to open stream
0:00:02.948539825     1 0x55aa08ed9450 WARN                 rtspsrc gstrtspsrc.c:5628:gst_rtspsrc_loop:<src_elem0> we are not connected

Please run the command to check if the URI is valid:

$ gst-launch-1.0 uridecodebin uri='_RTSP_IP_ADDRESS_' ! nveglglessink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:ECSintel01@
Progress: (open) Retrieving server options
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Unhandled error
Additional debug info:
gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Bad Request (400)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

@DaneLLL anything else I can try?

Seems like the URI is invalid. Please try:

$ gst-launch-1.0 rtspsrc location='_RTSP_IP_ADDRESS_' ! fakesink

See if it works. If it cannot receive stream through rtspsrc, may not be able to applied the source to DeepStream SDK.