RTSP Reconnection Behavior in DeepStream for Custom Stream Sources

🔖 Title: RTSP Reconnection Behavior in DeepStream for Custom Stream Sources


Hello,
We are currently using DeepStream to pull RTSP streams from our own simulated data sources. However, since our custom RTSP streaming method may not fully conform to DeepStream’s expected pulling mechanism, we’re experiencing an issue where the number of successfully connected cameras is inconsistent each time the program starts.

We would like to ask:
Does DeepStream internally have a reconnection policy where it stops trying to connect to a specific RTSP source after a certain number of failed attempts (e.g., fails to parse the stream after retrying every 10 seconds for several times)?

Thank you!

The DeepStream is a SDK but not an application.

The DeepStream SDK has provided the sample for RTSP reconnection in the deepstream-app sample app DeepStream Reference Application - deepstream-app — DeepStream documentation

The deepstream-app sample is open source. Please check the source code in /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-app and /opt/nvidia/deepstream/deepstream/sources/apps/apps-common

You can try the RTSP reconnection function with the deepstream-app sample app, the configuration parameters are introduced in DeepStream Reference Application - deepstream-app — DeepStream documentation

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.