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:
co-authored by
Mathew Kamkar
parent
43079866a2
commit
1d626ba053
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user