Skip to content

Commit

Permalink
chore: add /etc/bigbluebutton/ as prio config dir, remove hardcoded STUN
Browse files Browse the repository at this point in the history
  • Loading branch information
prlanzarin committed Apr 24, 2023
1 parent 828ea17 commit f0d6afa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ func (cfg *Config) SetDefaults() {
Network: "tcp",
Password: "",
}
cfg.WebRTC.ICEServers = append(cfg.WebRTC.ICEServers, webrtc.ICEServer{
URLs: []string{"stun:stun.l.google.com:19302"},
})
cfg.WebRTC.RTCMinPort = 24577
cfg.WebRTC.RTCMaxPort = 32768
cfg.WebRTC.JitterBuffer = 512
Expand Down
1 change: 1 addition & 0 deletions internal/config/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func (cfg *Config) Load(app App, configFile string) {
Filename: configFile,
Finder: gonfig.Finder{
BasePaths: []string{
fmt.Sprintf("/etc/bigbluebutton/%s", app.Name),
fmt.Sprintf("/etc/%s/%s", app.Name, app.Name),
fmt.Sprintf("$HOME/.config/%s", app.Name),
fmt.Sprintf("./%s", app.Name),
Expand Down

0 comments on commit f0d6afa

Please sign in to comment.