Hi there,
I'm sending different rtmp streams to my server, which are handled greatly by the rtmp module.
Sometimes though i need to add / remove streams (applications) to / from the server
Therefore i wanted to change the nginx.conf on the fly, using something like this:
http://snippets.aktagon.com/snippets/93-change-nginx-configuration-on-the-flyUsing that, nginx seems to use the new config file, but sadly, all active streams stop right ahead.
Some googling pointed me to the http control module, which is able to stop / start streams.
This could come handy sometimes, but does not seem to be enough for me here.
I need to (more or less) dynamicaliy add new excec commands, change max. lenght / frames of some streams (online / offline), activate / deactivate audio / video ... .
(in this thread:
https://groups.google.com/forum/#!topic/nginx-rtmp/QIzG1E6AQew i asked for beeing able to change the applications name dynamicaly,
this is not necessary anymore, but changing the application's behavior is)
Could it perhaps be possible to alter nginx at some place to make it read the config file and only do something to / with a stream when there was a change within that stream's application-section?
If not, do you know a work around?
Thanks once again!
Martin