Jetson Orin Error with RTSP stream from Dahua camera: [gstreamer] gstDecoder::Capture() -- a timeout occurred waiting for the next image buffer

It sounds similar to the topics:
Deepstream 5.1 Test 3 RTSP Camera INPUT - #3 by DaneLLL
Python Bindings for DeepStream not working with RTSP stream - #8 by DaneLLL

Maybe the URI is not correctly read. Please try gst-launch-1.0 command to clarify whether the failure occurs only when running video-viewer