How to restart/reconnect RTSP sources without stopping the whole application

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version 5.1-21.02-devel
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only): 470.103.01
• Issue Type( questions, new requirements, bugs) : Questions
• How to reproduce the issue? (This is for bugs. Including which sample app is used, 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 running a Deepstream occupancy analytics application for 12 different RTSP sources. But due to a slow network connection sometimes the RTSP link gets disconnected. So in that scenario, I need to restart the whole application again for reconnecting the single camera.

Is there any way if a single RTSP camera gets disconnected then I can restart/reconnect again without stopping the whole application?

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

Please refer to the rtsp reconnection sample in deepstream-app sources code. The pre-condition is that the rtsp link break does not cause any error or EOS in the pipeline bus.

If there is error or eos in the bus, the pipeline state should be changed to NULL state and to restarting the pipeline is necessary.