# How to make configuration changes dynamically?

**URL:** <https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617>\
**Category:** DeepStream SDK\
**Created:** [September 12, 2019, 2:40pm UTC](https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617 "2019-09-12T14:40:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben.ying](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ben.ying](https://forums.developer.nvidia.com/u/ben.ying)\
**Post date:** [September 12, 2019, 2:40pm UTC](https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617/1 "2019-09-12T14:40:35Z")

</div>

It seems like whenever I need to make the configuration change, I have to change the config file and restart the pipeline. I’m looking for seamless integration with DeepStream.

For example, if I have 8 rtsp streams displayed and I would like to switch only one of the stream on the fly, how do I do that?

Thanks,  
Ben

---

<div class="post-metadata">

**Author:** ![ChrisDing](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/chrisding/32/14043_2.png) [@ChrisDing](https://forums.developer.nvidia.com/u/ChrisDing)\
**Post date:** [September 26, 2019, 2:53am UTC](https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617/2 "2019-09-26T02:53:51Z")

</div>

> > For example, if I have 8 rtsp streams displayed and I would like to switch only one of the stream on the fly, how do I do that?

Tiler plugin does not support configuration dynamically.

[tiled-display]  
enable=1  
rows=5  
columns=6  
…

rows \* columns = the count of input streams  
and can’t choose which streams to display  
I think this is your requirement.

---

<div class="post-metadata">

**Author:** ![ben.ying](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ben.ying](https://forums.developer.nvidia.com/u/ben.ying)\
**Post date:** [September 26, 2019, 9:43pm UTC](https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617/3 "2019-09-26T21:43:48Z")

</div>

Thanks for the answer. It is slightly different than what I asked for.

[source0]  
enabled=1  
type=4  
uri=rtsp://ip1

I would like to know if it is possible to switch uri to rtsp://ip2 dynamically? I tried to use proxy uri meaning uri doesn’t change. I tried disconnect and reconnect the camera it worked. But I tried to switch source stream and it didn’t work. I guess it is because the resolution and codec etc changed.

---

<div class="post-metadata">

**Author:** ![ChrisDing](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/chrisding/32/14043_2.png) [@ChrisDing](https://forums.developer.nvidia.com/u/ChrisDing)\
**Post date:** [October 9, 2019, 9:53am UTC](https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617/4 "2019-10-09T09:53:38Z")

</div>

In the sample “deepstream-perf-demo” there is also source switch.

Runtime addition deletion is possible but sample is not released. Will be given in next release

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:19pm UTC](https://forums.developer.nvidia.com/t/how-to-make-configuration-changes-dynamically/81617/5 "2021-10-12T16:19:01Z")

</div>

Closed on October 12, 2021, 4:19pm UTC


