Revert "webrtc use ICEServers."
This commit is contained in:
parent
3c3f50af68
commit
fd07597262
1 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue