RTSP reconnection in python test app3

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) : dGPU
• DeepStream Version : 5.0GA
• TensorRT Version :
• NVIDIA GPU Driver Version (valid for GPU only) : 440

How to set property of rtsp-reconnect-interval-sec=60 in python app test3, as for streammux, tiler, osd we make a ElementFactory and set property to them, for rtsp we are using uridecodebin, but cannot set this property in script.

I have checked this rtsp-reconnect-interval-sec=60 and set type=4 to check if rtsp connection reconnect and it works perfectly, “source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt” - this config file through deepstream command.


“rtsp-reconnect-interval-sec” is c/c++ application deepstream-app feature, it is implemented within deepstream-app but not a plugin property. There are many parameters in deepstream-app configuration file, but many of them are not plugin properties but application’s own features. If you are really interested with “rtsp-reconnect-interval-sec” implementation. you can investigate the deepstream-app c/c++ codes.

@priyanshthakore do you find a way to make the reconnections in python?


Any luck? I’m also interested in the solution for this