Nvurisrcbin RTSP Reconnection Issue: "gst-resource-error-quark: Could not write to resource"

Please provide complete information as applicable to your setup.

• L4 dGPU
• DeepStream Version 6.4
• Using Docker nvcr.io/nvidia/deepstream:6.4-triton-multiarch
• NVIDIA GPU Driver Version NVIDIA-SMI 535.183.01
• Bug

Hello,

I’m experiencing an issue when playing multiple RTSP streams using nvurisrcbin with TCP. Occasionally, the stream disconnects for various reasons. The RTSP reconnect option is enabled and seems to work initially. However, after some time, nvurisrcbin fails to reconnect and doesn’t even appear to attempt reconnection.

I observed the following log message, which remains displayed for hours for the stream that cannot reconnect:

Warning received from element src: gst-resource-error-quark: Could not write to resource.

Despite this, I am able to consume the stream using VLC and FFmpeg without any issues.

Any insights or solutions would be greatly appreciated.

Thank you!

Could you add the GST_DEBUG=3 in the front of your command and attach the whole log when the problem happens?