In our scenario, many short videos received at unpredictable time. I read the sample codes but confused about how to run a pipeline multiple times. In the runtime_source_add_delete and other app using multi sources, the main loop will quit when all sources end. But I need to run the pipeline again when new videos received. Dose it cost many resource to rebuild the pipeline or Can I update the sources and run the pipeline again?
For dynamically delete/add sources, yes pls refer runtime_source_add_delete app.
I think you can choose to not quit when EOS is received.