From a56aba8b06056394e2473b6b87333773e1290514 Mon Sep 17 00:00:00 2001 From: braginini Date: Mon, 6 Sep 2021 14:23:03 +0200 Subject: [PATCH] chore: init STUNs and TURNs as empty arrays --- client/internal/engine.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/internal/engine.go b/client/internal/engine.go index 77fc9f7d9..3684de7fa 100644 --- a/client/internal/engine.go +++ b/client/internal/engine.go @@ -71,6 +71,8 @@ func NewEngine(signalClient *signal.Client, mgmClient *mgm.Client, config *Engin peerMux: &sync.Mutex{}, syncMsgMux: &sync.Mutex{}, config: config, + STUNs: []*ice.URL{}, + TURNs: []*ice.URL{}, } }