I want to pass certain information to the customized gstreamer plugin based on gstdsexample from the deepstream-app-main files. What is the best way to do this? Information can be of any kind - a class object, vectors, strings etc.
Not very clear about your question, gstdsexample is just a gstreamer plugin, you can use it as other GST plugins.
pls refer https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_custom_plugin.html%23