This issue should not be related to nvurisrcbin, but should be caused by the configuration of nvstreammux.
This parameter only use for file source, like file://. for rtsp source is useless.
Set select-rtp-protocol to 4 to enable rtp over tcp, if your camera supports it. This can avoid udp packet loss problems, but will increase some latency.
This problem is probably caused by the parameter configuration of nvstreammux. For rtsp, first set live-source to 1. In addition, please refer to this FAQ to adjust the parameters
We need to use the new version of streammux and nvurisrcbin for synchronization and disconnection reconnection. When a camera is disconnected and reconnected, it will cause the frame rate of the entire pipeline to drop to 4-5 frames, which will be restored after reconnection. The old version of nvstreammux does not have this issue.
Can you share the reason why you must use new nvstreammux? New nvstreamux and legacy nvstreammux require different configuration parameters. You can refer to the FAQ debugging above, or refer to the configuration file of deepstream-app at /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_mux_source4.txt.
It is recommended that you use deepstream-app to test similar situations first.
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