When I tested deepstream-test5, I found that the other nodes had exited, but the rest-server was still there

Using get-stream-info to get the flow information, you can still get the details, please see the screenshot。



Seems the server closed the connection. Suppose it will reconnect to the RTSP server. Can you help to run below command line to get more information?

$ export GST_DEBUG=rtspsrc:6;nvurisrcbin:6
$ gst-launch-1.0 rtspsrc location= ! rtph264depay ! decodebin ! nv3dsink

All the other nodes have exited, leaving the rest server alive

What is the expect behavior for your project? How to reproduce the issue?

Our business scenario is that rest_Sever fetches the rtsp video, performs inference, and then transmits it to the cloud. When the rtsp video stream is disconnected, it can try to refetch the rtsp stream

Can you set above envirenment value to enable mode log to debug?

This is what I printed at the end after adding the environment variable

This is the log file
deepstream-person-detect.log-20240722.gz (303.3 KB)

GStreamer will show more log if you set: $ export GST_DEBUG=rtspsrc:6;nvurisrcbin:6

I found many below log in your shared log file. Does you camera need user name and password?

nvmultiurisrcbin ERROR from element src: Could not open resource for reading.
nvmultiurisrcbin ERROR from element src: Not found
WARNING from src: Could not open resource for reading.
Debug info: …/gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRTSPSrc:src:
No supported authentication protocol was found
ERROR from src: Not found
Debug info: …/gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRTSPSrc:src:
Stream Not Found (404)
new stream removed [0:303239333436003d15ab4eb5165a0000]
Quitting

This is the log I retrieved when I actively killed the video source
deepstream-person-detect-dla0-v100.log (1.8 MB)

I found the application received the ERROR in your log. There is RTSP reconnect when handle GST_MESSAGE_ERROR in /opt/nvidia/deepstream/deepstream-7.0/sources/apps/sample_apps/deepstream-app/deepstream_app.c. You need change below line to: NV_DS_SOURCE_URI_MULTIPLE
appCtx->config.multi_source_config[0].type == NV_DS_SOURCE_RTSP

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.