webrtc-adapter
Advanced tools
Comparing version 7.6.2 to 7.6.3
@@ -258,2 +258,5 @@ /* | ||
function shimRTCIceServerUrls(window) { | ||
if (!window.RTCPeerConnection) { | ||
return; | ||
} | ||
// migrate from non-spec RTCIceServer.url to RTCIceServer.urls | ||
@@ -282,3 +285,3 @@ var OrigPeerConnection = window.RTCPeerConnection; | ||
// wrap static methods. Currently just generateCertificate. | ||
if ('generateCertificate' in window.RTCPeerConnection) { | ||
if ('generateCertificate' in OrigPeerConnection) { | ||
Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { | ||
@@ -285,0 +288,0 @@ get: function get() { |
{ | ||
"name": "webrtc-adapter", | ||
"version": "7.6.2", | ||
"version": "7.6.3", | ||
"description": "A shim to insulate apps from WebRTC spec changes and browser prefix differences", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
@@ -236,2 +236,5 @@ /* | ||
export function shimRTCIceServerUrls(window) { | ||
if (!window.RTCPeerConnection) { | ||
return; | ||
} | ||
// migrate from non-spec RTCIceServer.url to RTCIceServer.urls | ||
@@ -262,3 +265,3 @@ const OrigPeerConnection = window.RTCPeerConnection; | ||
// wrap static methods. Currently just generateCertificate. | ||
if ('generateCertificate' in window.RTCPeerConnection) { | ||
if ('generateCertificate' in OrigPeerConnection) { | ||
Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { | ||
@@ -265,0 +268,0 @@ get() { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
907428
21763