Please provide complete information as applicable to your setup.
• Hardware Platform (GPU) • DeepStream Version 6.3 • TensorRT 8.5.3.1 • NVIDIA GPU Driver Version 535.113.01 • Issue Type(bugs)
When I do not set “uri-list” and “sensor-id-list” of nvmultiurisrcbin, with “rtsp-reconnect-interval”=10, I add the first camera from curl, the pipeline need to wait 10 seconds to get frames. If “rtsp-reconnect-interval”=0, the camera was added in the pipeline but cannot get frames and do not show any WARN messages.
I use gst-launch-1.0 and with both case and these WARN appear:
1.rtsp-reconnect-interval must be bigger than 0, otherwise it won’t work.
If pipeline don’t reconnect, there will be no data.
You can get the following description after run gst-inspect-1.0 nvmultiurisrcbin
rtsp-reconnect-interval: Timeout in seconds to wait since last data was received from an RTSP source before forcing a reconnection. 0=disable timeout
If you set rtsp-reconnect-interval=10 but there are no uri when the pipeline start, It will be reconnect after 10 seconds. then the pipeline get frames.
@junshengy Hi, when I use GST_DEBUG=3 gst-launch-1.0 nvmultiurisrcbin width=1280 height=720 rtsp-reconnect-interval=10 ! fakesink and then I add a disconnected camera by curl. After few seconds, the camera reconnected successfully but the stream did not open, just “Sent PLAY request”.
Could you reproduce and show me how to fix this, I think it can be solve in gstdsnvmultiurisrcbin.cpp.
Thanks a lot.