diff --git a/webrtc/RTCPeerConnection-tests.ts b/webrtc/RTCPeerConnection-tests.ts index f25ad81df..b85c61806 100644 --- a/webrtc/RTCPeerConnection-tests.ts +++ b/webrtc/RTCPeerConnection-tests.ts @@ -1,8 +1,8 @@ -/// +/// /// var config: RTCConfiguration = - { iceServers: [{ url: "stun.l.google.com:19302" }] }; + { iceServers: [{ urls: "stun.l.google.com:19302" }] }; var constraints: RTCMediaConstraints = { mandatory: { offerToReceiveAudio: true, offerToReceiveVideo: true } }; diff --git a/webrtc/RTCPeerConnection.d.ts b/webrtc/RTCPeerConnection.d.ts index 0e186fd27..661b9685b 100644 --- a/webrtc/RTCPeerConnection.d.ts +++ b/webrtc/RTCPeerConnection.d.ts @@ -29,7 +29,7 @@ declare var RTCConfiguration: { }; interface RTCIceServer { - url: string; + urls: string; credential?: string; } declare var RTCIceServer: {