How does Python dynamically increase or decrease input sources in deepstream5. Series?

Brother, please tell me how to stop deep stream-test1 in the background!

**• Hardware Platform (Jetson / GPU):dGPU**
**• DeepStream Version:5.1**
**• JetPack Version (valid for Jetson only)**
**• TensorRT Version:7.2.3**
**• NVIDIA GPU Driver Version (valid for GPU only):11.1**
**• Issue Type( questions, new requirements, bugs):questions**

I am moving this topic to the Deepstream forum for better visibility.

What does you mean with “in the backgroup”?

The code in the figure below will push the RTSP stream when main is called once. When I call main the second time, how can I make it stop the previous RTSP stream?

Can you post in English? The users of this forum come from all around the world, we work in English only.

To stop RTSP stream, you need to add the code to set the pipeline state to NULL, then the previous pipeline will stop.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.