mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 07:06:51 +08:00
Add an almost complete rfc complaint RTCConfiguration
This commit is contained in:

committed by
Sean DuBois

parent
26e0fb8423
commit
20191a4974
@@ -42,7 +42,7 @@ func main() {
|
||||
|
||||
// Create a new RTCPeerConnection
|
||||
peerConnection, err := webrtc.New(webrtc.RTCConfiguration{
|
||||
ICEServers: []webrtc.RTCICEServer{
|
||||
IceServers: []webrtc.RTCIceServer{
|
||||
{
|
||||
URLs: []string{"stun:stun.l.google.com:19302"},
|
||||
},
|
||||
|
Reference in New Issue
Block a user