1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support ingest reload: add new vhost with ingester

This commit is contained in:
winlin 2014-04-10 10:09:30 +08:00
parent e5646e3bb5
commit dc71eef394
5 changed files with 59 additions and 7 deletions

View file

@ -33,6 +33,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
/**
* the handler for config reload.
* when reload callback, the config is updated yet.
*/
class ISrsReloadHandler
{
@ -42,6 +43,7 @@ public:
public:
virtual int on_reload_listen();
virtual int on_reload_pithy_print();
virtual int on_reload_vhost_added(std::string vhost);
virtual int on_reload_vhost_removed(std::string vhost);
virtual int on_reload_gop_cache(std::string vhost);
virtual int on_reload_queue_length(std::string vhost);