2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

Revert "webrtc use ICEServers."

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

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