mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-19 22:16: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),
|
publisherWaiters: make(map[uint64]chan bool),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if urlType == "" {
|
||||||
|
urlType = proxyUrlTypeStatic
|
||||||
|
}
|
||||||
|
|
||||||
switch urlType {
|
switch urlType {
|
||||||
case proxyUrlTypeStatic:
|
case proxyUrlTypeStatic:
|
||||||
mcuUrl, _ := config.GetString("mcu", "url")
|
mcuUrl, _ := config.GetString("mcu", "url")
|
||||||
|
|
Loading…
Reference in a new issue