From fd075972626387ab4f0489a6b7e43cb9a318fced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Mon, 15 Mar 2021 17:15:34 +0100 Subject: [PATCH] Revert "webrtc use ICEServers." --- internal/webrtc/manager.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/webrtc/manager.go b/internal/webrtc/manager.go index 1d147e1c..49a597e8 100644 --- a/internal/webrtc/manager.go +++ b/internal/webrtc/manager.go @@ -454,7 +454,11 @@ func (manager *WebRTCManagerCtx) apiConfiguration() *webrtc.Configuration { } return &webrtc.Configuration{ - ICEServers: ICEServers, + ICEServers: []webrtc.ICEServer{ + { + URLs: manager.config.ICEServers, + }, + }, SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback, } }