From 3bd6fe09763a2f6464a93a145cddb9c007148bc8 Mon Sep 17 00:00:00 2001 From: manjuks1991 <32057095+manjuks1991@users.noreply.github.com> Date: Tue, 11 Feb 2020 00:37:17 +0530 Subject: [PATCH] Update RTCPeerConnection.d.ts (#41751) This additional parameter is to allow users to switch between IPv4/IPv6 networks, switch between DTLS and SDES encryption. --- types/webrtc/RTCPeerConnection.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/webrtc/RTCPeerConnection.d.ts b/types/webrtc/RTCPeerConnection.d.ts index 3df7999212..a64818294e 100644 --- a/types/webrtc/RTCPeerConnection.d.ts +++ b/types/webrtc/RTCPeerConnection.d.ts @@ -339,7 +339,7 @@ interface RTCPeerConnection extends EventTarget { failureCallback: RTCPeerConnectionErrorCallback): Promise; } interface RTCPeerConnectionStatic { - new(configuration?: RTCConfiguration): RTCPeerConnection; + new(configuration?: RTCConfiguration, options?: any): RTCPeerConnection; readonly defaultIceServers: RTCIceServer[]; // Extension: https://www.w3.org/TR/webrtc/#sec.cert-mgmt