How to add runtime_source_add_delete function in deepstream-app demo?

I have succeed achieve runtime_source_add_delete from this link deepstream_reference_apps/runtime_source_add_delete at master · NVIDIA-AI-IOT/deepstream_reference_apps · GitHub
, now I want to achieve same function in deepstream-app demo, but I have no idea how to add it, Please tell me some useful information. Thanks.

What’s your requirement? You can add something you need from deepstream-app to runtime_source_add_delete.

I want to use deepstream-app for yolov3 and segmentation, so it may take more time to do this.

It’s very easy. You just need to replace nvinfer(pgie/sgie) in runtime_source_add_delete by yolov3 and segmentation.

However I need some useful function in deepstream-app, for config parser, process metadata, overlay graph…,so I don’t think it is a good choice.
So can you give some advices for runtime add and delete function in deepstream-app. Thanks.

We don’t have run-time add/delete function in deepstream-app now. I think you can refer to run-time sample to modify sources/apps/apps-common/src/deepstream_source_bin.c

OK, I’ll have a try, Thanks