How to list the sources in streamux

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.2
• Issue Type( questions, new requirements, bugs) question
how can i list the names of sources (pad names)connected to streammux (debug purpose, I would like to check if the source is removed )?

I extended the to add source using runtime through API hit, the ID is the camera ID from DB (eg, 1000, 1025, 1036). I use this ID to create the bin name
bin_name="source-bin-%02d" % ID
unlike the example the bin_name doesn’t starts from 0, it can be any integer. Is this approach OK? or should i have to start naming the bin_name from 0 in terms of computational efficiency.

please refer to GstElement

it is ok, the name can be custom.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.