mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
webrtc use ICEServers.
This commit is contained in:
parent
a1be9002f7
commit
3c3f50af68
@ -454,11 +454,7 @@ func (manager *WebRTCManagerCtx) apiConfiguration() *webrtc.Configuration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &webrtc.Configuration{
|
return &webrtc.Configuration{
|
||||||
ICEServers: []webrtc.ICEServer{
|
ICEServers: ICEServers,
|
||||||
{
|
|
||||||
URLs: manager.config.ICEServers,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback,
|
SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user