Disable STUN in examples temporarily

When we have multiple candidates that resolve we need to share DTLS
state across them
This commit is contained in:
Sean DuBois
2018-07-14 13:25:55 -07:00
parent f440fc32d4
commit 2564609560
3 changed files with 3 additions and 21 deletions

View File

@@ -27,13 +27,7 @@ func main() {
/* Everything below is the pion-WebRTC API, thanks for using it! */
// Create a new RTCPeerConnection
peerConnection, err := webrtc.New(&webrtc.RTCConfiguration{
ICEServers: []webrtc.RTCICEServer{
{
URLs: []string{"stun:stun.l.google.com:19302"},
},
},
})
peerConnection, err := webrtc.New(&webrtc.RTCConfiguration{})
if err != nil {
panic(err)
}