Config API #321
Replies: 4 comments
-
Great idea. I'm having to build a camera proxy service in which rtsp-simple-server is the core, with an API layer to receive the requests from outside, just for adding/removing the path items. |
Beta Was this translation helpful? Give feedback.
-
Yes, you're right |
Beta Was this translation helpful? Give feedback.
-
I would be against this feature if it takes valuable time for @aler9 that could be spent improving the core instead. Chances are the generic config API will not satisfy everyone's needs (like oauth2 authentication, in my case) so it will have to be wrapped by another application API anyway, thereby reducing the benefit. Keep it simple, it's very easy to make an API in python using flask / fastapi that writes to file using pyaml. |
Beta Was this translation helpful? Give feedback.
-
an HTTP API is available in v0.17.0 |
Beta Was this translation helpful? Give feedback.
-
Which version are you using?
v0.12.2
Enhancement request
I think Server needs some HTTP/socket API for on-the-fly configuration changes with in-memory only or permanent
config.yml
modifications. For example look at: https://nginx.org/en/docs/http/ngx_http_upstream_conf_module.html.It is very important for intencive work with creating/removing many streams under some hi-load REST API.
Beta Was this translation helpful? Give feedback.
All reactions