You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there was a time when the rtsp-simple-server could be configured via flags (for example in the #17 comment). However it's now only configurable from a yaml file (from this improvement).
I was wondering if you plan to (re-)support overriding the properties from another source than the configuration file (e.g. flags, environment variables, ...)? What do you think about https://github.com/spf13/viper?
My use case is that I want to spawn dynamically X rtsp-simple-servers in a single server.
For example, if I want to spawn 100 rtsp-simple-services, I could do something like:
Hello, i use Grafana a lot, and it's configurable in a way similar to the one proposed by Viper; there's a configuration file, and at the same time config values can be overridden with environment variables.
So yes, i think it can be implemented.
This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.
Which version are you using?
v0.10.0
Which operating system are you using?
Linux
Enhancement request
It seems there was a time when the rtsp-simple-server could be configured via flags (for example in the #17 comment). However it's now only configurable from a yaml file (from this improvement).
I was wondering if you plan to (re-)support overriding the properties from another source than the configuration file (e.g. flags, environment variables, ...)? What do you think about https://github.com/spf13/viper?
My use case is that I want to spawn dynamically X rtsp-simple-servers in a single server.
For example, if I want to spawn 100 rtsp-simple-services, I could do something like:
But I can't imagine creating 100 rtsp-simple-server.yml files. It's not quite scalable.
Note: I can always mitigate my issue by creating 100 docker containers by mapping the default ports 8554, 8000 and 8001 to the host desired ports.
The text was updated successfully, but these errors were encountered: