RTSP disconnection crashed entire pipeline

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Orin NX
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only) 5.1.2

I am using the Python DeepStream SDK to create a pipeline that utilizes 20 RTSP input streams from IP cameras. My pipeline is able to add or delete sources dynamically. If I run my pipeline with a small number of cameras, it works as expected. However, if I increase the number of inputs to above 10, I encounter the following error after some runtime.

 2024-04-17 02:15:23    ERROR - Error: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5560): gst_rtspsrc_loop_interleaved (): /GstPipeline:pipeline0/GstBin:source-bin-3/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Could not receive message. (Parse error)

I have two questions:

  1. What is the root cause of this issue?
  2. Is there a way to delete and re-add the erroneous input or reconnect to that source?

Thanks a lot.

  1. this is Gstreamer error log, which mean rtsp abnormal connection, the client can’t receive message from server.
  2. please refer to this topic for rtsp reconenction in python.

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