mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
provide IceServerList flag as variadic arg to webrtc Configuration (#24)
This commit is contained in:
parent
3ec771df01
commit
4e6bba559a
3 changed files with 7 additions and 5 deletions
|
@ -63,8 +63,7 @@ func dialWebRTC() (*webRTCConn, error) {
|
|||
|
||||
// TODO: [#3] Fetch ICE server information from Broker.
|
||||
// TODO: [#18] Consider TURN servers here too.
|
||||
config := webrtc.NewConfiguration(
|
||||
webrtc.OptionIceServer("stun:stun.l.google.com:19302"))
|
||||
config := webrtc.NewConfiguration(iceServers...)
|
||||
|
||||
broker := NewBrokerChannel(brokerURL, frontDomain)
|
||||
if nil == broker {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue