webrtc use ICEServers.

This commit is contained in:
Miroslav Šedivý 2021-03-15 16:40:03 +01:00
parent a1be9002f7
commit 3c3f50af68

View File

@ -454,11 +454,7 @@ func (manager *WebRTCManagerCtx) apiConfiguration() *webrtc.Configuration {
}
return &webrtc.Configuration{
ICEServers: []webrtc.ICEServer{
{
URLs: manager.config.ICEServers,
},
},
ICEServers: ICEServers,
SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback,
}
}