webrtc-streamer
webrtc-streamer copied to clipboard
Graceful reload config.json file
Is there a way to send a configuration reload request in the way of SIGHUP or similar to WebRTC Streamer binary?
The way I use it with my application is by updating the config.json dynamically to add and remove RTSP streams.
Is there a way to gracefully reload the config instead of killing the process and restarting it?
BTW, Awesome work!
Hi digger18,
Still now there is noways to reload the config file, however if you just add/remove RTSP streams, WebRTCStreamer do not need to know them.
You can maintain in your application and use the rtsp url directly, the dictionnary in config file is just to give a name instead of an RTSP url. An RTSP url not defined in the config file works the same one of the config file.
An other approach is to add a POST method in the HTTP server to update the config.
Best Regards, Michel.
Hello,
"An other approach is to add a POST method in the HTTP server to update the config."
Maybe some kind of API to manage and reload config.json? Im big fan of your software.