mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-19 14:06:32 +02:00
Default to proxy url type "static" if none is configured.
This commit is contained in:
parent
198117a8d0
commit
adce45162e
|
@ -944,6 +944,10 @@ func NewMcuProxy(config *goconf.ConfigFile) (Mcu, error) {
|
|||
publisherWaiters: make(map[uint64]chan bool),
|
||||
}
|
||||
|
||||
if urlType == "" {
|
||||
urlType = proxyUrlTypeStatic
|
||||
}
|
||||
|
||||
switch urlType {
|
||||
case proxyUrlTypeStatic:
|
||||
mcuUrl, _ := config.GetString("mcu", "url")
|
||||
|
|
Loading…
Reference in a new issue