Config API #321
Replies: 5 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.
-
|
This discussion is being locked automatically because the last update was more than 2 years ago. Do not use the content of this discussion as reference since it's probably outdated! The official documentation is the only place in which you can find up-to-date answers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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.ymlmodifications. 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