Revert "webrtc use ICEServers."

This commit is contained in:
Miroslav Šedivý 2021-03-15 17:15:34 +01:00
parent 3c3f50af68
commit fd07597262

View File

@ -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,
}
}