mirror of
https://github.com/pion/webrtc.git
synced 2025-11-03 01:33:46 +08:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user