Update RTCPeerConnection.d.ts (#41751)

This additional parameter is to allow users to switch between IPv4/IPv6 networks, switch between DTLS and SDES encryption.
This commit is contained in:
manjuks1991
2020-02-10 11:07:17 -08:00
committed by GitHub
parent 81b43cf657
commit 3bd6fe0976
+1 -1
View File
@@ -339,7 +339,7 @@ interface RTCPeerConnection extends EventTarget {
failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
}
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