chore: init STUNs and TURNs as empty arrays

This commit is contained in:
braginini 2021-09-06 14:23:03 +02:00
parent 4acbdc47e5
commit a56aba8b06

View File

@ -71,6 +71,8 @@ func NewEngine(signalClient *signal.Client, mgmClient *mgm.Client, config *Engin
peerMux: &sync.Mutex{}, peerMux: &sync.Mutex{},
syncMsgMux: &sync.Mutex{}, syncMsgMux: &sync.Mutex{},
config: config, config: config,
STUNs: []*ice.URL{},
TURNs: []*ice.URL{},
} }
} }