Deepstream RTSP source reconnect causing DS crash

Hi, we’re using DS 5.1 python with multi-rtsp sources on a dGPU server.
We found that when an RTSP is disconnected, DS can keep running properly with other remaining RTSP.
But when the RTSP is reconnected, DS will crash with the error messages below.

Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5293): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-01/GstURIDecodeBin:source-bin-01/GstRTSPSrc:source:
Unhandled return value -7.
Error: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5361): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-01/GstURIDecodeBin:source-bin-01/GstRTSPSrc:source:
Could not receive message. (System error)

Did you get this error using original app runtime_source_add_delete?

Hi @amycao ,
No. runtime_soucre_add_delete can run properly with video sources.

Then you need to find which part in your app caused the issue. if the part related with deepstream, we will look into it.