webhooks support (#81)

This commit is contained in:
David Zhao
2021-08-09 09:57:37 -07:00
committed by GitHub
parent 1f4288744c
commit 9495646f1a
12 changed files with 286 additions and 19 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ func (conf *Config) determineIP() (string, error) {
if conf.RTC.UseExternalIP {
stunServers := conf.RTC.StunServers
if len(stunServers) == 0 {
stunServers = DEFAULT_STUN_SERVERS
stunServers = DefaultStunServers
}
ip, err := GetExternalIP(stunServers)
if err == nil {