What’s meaning of `at least one of the sources is live` in runtime_source_add_delete?

• Hardware Platform (Jetson / GPU): dPU A40.
• DeepStream Version: 6.4-triton-multiarch.
• TensorRT Version: 8.6.1.6.
• NVIDIA GPU Driver Version (valid for GPU only): 535.146.02.
• Issue Type( questions, new requirements, bugs): questions.
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

What’s meaning of at least one of the sources is live in runtime_source_add_delete.

because If one of the sources was down through launching pipeline cause Existing app with me, thanks?
Can you support me please @ fanzh @ junshengy

Hi,

Live sources in GStreamer are sources that cannot be paused without losing buffers (such as cameras and streams). The opposite would be video files or video test sources. Additionally, in live sources, the framerate is limited by the source. In non-live sources, you need to set the framerate; otherwise, the pipeline will run as fast as the hardware allows. The is-live=true property allows certain non-live sources to simulate a live source for testing. I hope this answers your question.

Thank you for your answer, When try to launch the pipeline with two streams, one of them are not streaming and another streaming, Exiting app occur

Another case when the pipeline launch with two live streams for sometime and one of them stopped, then I try to add it after I sure it’s up again but if it stopped between this checking and added it to the pipeline the same Exiting app occur

You can add GstInterpipes to decouple the live sources from the rest of the pipeline and avoid these issues.

this sample only support one source. please refer to this code.