Dynamically add and remove streams in deepstream

• Hardware Platform (Jetson / GPU):jetson
• DeepStream Version:5.0
• JetPack Version (valid for Jetson only):4.4
• TensorRT Version:7.x

I want to dynamically add/remove the specific stream from gstreamer pipeline. I see such problem is done in the this repo.
But I want to like this in python.
I implemented like that in python, but I don’t have gst_nvmessage_parse_stream_eos, gst_nvmessage_is_stream_eos in python gstreamer, I don’t know, really I need to these functions in python?How?
When the first stream is disconnected then the whole of pipeline stopped, I want to know this is because of I don’t use those functions in python? If so, How I can handle those function in python?


There is no python binding for gst_nvmessage_parse_stream_eos and gst_nvmessage_is_stream_eos, they are Nvidia customized interfaces.