turnserver registration apis

This commit is contained in:
Abhishek Kondur
2023-04-06 08:50:34 +04:00
parent d96360565b
commit f54ae9ae8f
20 changed files with 138 additions and 123 deletions

View File

@@ -97,7 +97,6 @@ func CreateHost(h *models.Host) error {
return err
}
h.HostPass = string(hash)
//turnserver.RegisterNewHostWithTurn(h.ID.String(), h.HostPass)
// if another server has already updated proxyenabled, leave it alone
if !h.ProxyEnabledSet {
log.Println("checking default proxy", servercfg.GetServerConfig().DefaultProxyMode)