When using Gst-nvmultiurisrcbin, how to replace the oldest tiles in turn?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
GPU 2060
• DeepStream Version
DeepStream 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
IN Ds docker
• NVIDIA GPU Driver Version (valid for GPU only)
535
• Issue Type( questions, new requirements, bugs)

questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

When removing a source in Gst-nvmultiurisrcbin, the corresponding tile will turn black and remain. The next time you add a new source, the removed tile will not be used, but a new tile will be opened, so that there will be more and more tiles. How to solve this problem? How to specify the replacement tile?

It is not a problem. The tiler place is decided by the sink pad index of nvstreammux. Gst-nvmultiurisrcbin is open source, you can view the way it decide the pad index for the new added source in s_get_source_id() function in /opt/nvidia/deepstream/deepstream/sources/libs/gstnvdscustomhelper/gst-nvmultiurisrcbincreator.cpp

You can design your own strategy by yourself.

I am a little confused. gstnvdscustomhelper/gst-nvmultiurisrcbincreator.cpp is the implementation component of creator in Gst-nvmultiurisrcbin. I need to modify gstnvdscustomhelper/gst-nvmultiurisrcbincreator.cpp to modify Gst-nvmultiurisrcbin to achieve my goal, right?

Yes. It is open source for your reference and customization.