Replies: 1 comment
-
Hello,
The server was created to be run as a stateless service. Persistence is not provided internally since:
Maybe in the future the server will provide persistence by interacting with an external DB, for the moment, you can wrap it into a script and make it download the configuration from a safe place, exactly like most stateless services do.
If you believe this is a bug, open an issue and describe how to replicate.
paths are created from configurations. If you edit the configuration associated with a path, the path will be updated too. |
Beta Was this translation helpful? Give feedback.
-
Is there any way to save all path confiurations added from HTTP API?
I use this server as RTSP proxy for accessing to IP cameras in VPN from Internet.
In my case I need:
Sometimes I see that 'source' parameter of path become null and I cold not change it over API. Sometimes I can not remove and then create new path with same name. When I restart server API works fine again, BUT all paths added from API lost.
For fix this problem I create wrapper API with SQL database that can reload all paths on server restart.
It will be great to add config option or API method for save all config changes from API in yml file.
API method "update" for paths will be useful too. "Update" means - crate new path or clean and rewrite config (if path exist).
Beta Was this translation helpful? Give feedback.
All reactions