Update turn (#147)

* more generic turn server

* public turn realm name

* support turn cert itself in config

* remove cert/key from config

* double auth handler

* generate

Co-authored-by: Mathew Kamkar <578302+matkam@users.noreply.github.com>
This commit is contained in:
David Colburn
2021-10-18 16:14:27 -05:00
committed by GitHub
co-authored by Mathew Kamkar
parent 43079866a2
commit 1d626ba053
4 changed files with 17 additions and 13 deletions
+3 -1
View File
@@ -5,12 +5,13 @@ import (
"os"
"time"
"github.com/livekit/livekit-server/pkg/routing/selector"
"github.com/mitchellh/go-homedir"
"github.com/pion/webrtc/v3"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
"gopkg.in/yaml.v3"
"github.com/livekit/livekit-server/pkg/routing/selector"
)
var DefaultStunServers = []string{
@@ -197,6 +198,7 @@ func NewConfig(confString string, c *cli.Context) (*Config, error) {
return nil, err
}
}
return conf, nil
}