added methods for janusagent configuration

This commit is contained in:
gezimbll
2024-04-09 06:41:38 -04:00
committed by Dan Christian Bogos
parent 883633732b
commit c5c8ca5991
5 changed files with 140 additions and 2 deletions

View File

@@ -250,6 +250,8 @@ func (srvMngr *ServiceManager) handleReload() {
go srvMngr.reloadService(utils.GlobalVarS)
case <-srvMngr.GetConfig().GetReloadChan(config.CoreSCfgJson):
go srvMngr.reloadService(utils.CoreS)
case <-srvMngr.GetConfig().GetReloadChan(config.JanusAgentJson):
go srvMngr.reloadService(utils.JanusAgent)
}
// handle RPC server
}