Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webrtc-adapter

Package Overview
Dependencies
Maintainers
4
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-adapter - npm Package Compare versions

Comparing version 7.2.2 to 7.2.3

4

dist/safari/safari_shim.js

@@ -299,3 +299,3 @@ /*

var audioTransceiver = this.getTransceivers().find(function (transceiver) {
return transceiver.sender.track && transceiver.sender.track.kind === 'audio';
return transceiver.receiver.track.kind === 'audio';
});

@@ -325,3 +325,3 @@ if (offerOptions.offerToReceiveAudio === false && audioTransceiver) {

var videoTransceiver = this.getTransceivers().find(function (transceiver) {
return transceiver.sender.track && transceiver.sender.track.kind === 'video';
return transceiver.receiver.track.kind === 'video';
});

@@ -328,0 +328,0 @@ if (offerOptions.offerToReceiveVideo === false && videoTransceiver) {

@@ -163,5 +163,7 @@ /*

result.version = extractVersion(navigator.userAgent, /Firefox\/(\d+)\./, 1);
} else if (navigator.webkitGetUserMedia) {
} else if (navigator.webkitGetUserMedia || window.isSecureContext === false && window.webkitRTCPeerConnection && !window.RTCIceGatherer) {
// Chrome, Chromium, Webview, Opera.
// Version matches Chrome/WebRTC version.
// Chrome 74 removed webkitGetUserMedia on http as well so we need the
// more complicated fallback to webkitRTCPeerConnection.
result.browser = 'chrome';

@@ -168,0 +170,0 @@ result.version = extractVersion(navigator.userAgent, /Chrom(e|ium)\/(\d+)\./, 2);

{
"name": "webrtc-adapter",
"version": "7.2.2",
"version": "7.2.3",
"description": "A shim to insulate apps from WebRTC spec changes and browser prefix differences",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

@@ -279,4 +279,3 @@ /*

const audioTransceiver = this.getTransceivers().find(transceiver =>
transceiver.sender.track &&
transceiver.sender.track.kind === 'audio');
transceiver.receiver.track.kind === 'audio');
if (offerOptions.offerToReceiveAudio === false && audioTransceiver) {

@@ -306,4 +305,3 @@ if (audioTransceiver.direction === 'sendrecv') {

const videoTransceiver = this.getTransceivers().find(transceiver =>
transceiver.sender.track &&
transceiver.sender.track.kind === 'video');
transceiver.receiver.track.kind === 'video');
if (offerOptions.offerToReceiveVideo === false && videoTransceiver) {

@@ -310,0 +308,0 @@ if (videoTransceiver.direction === 'sendrecv') {

@@ -151,5 +151,9 @@ /*

/Firefox\/(\d+)\./, 1);
} else if (navigator.webkitGetUserMedia) {
} else if (navigator.webkitGetUserMedia ||
(window.isSecureContext === false && window.webkitRTCPeerConnection &&
!window.RTCIceGatherer)) {
// Chrome, Chromium, Webview, Opera.
// Version matches Chrome/WebRTC version.
// Chrome 74 removed webkitGetUserMedia on http as well so we need the
// more complicated fallback to webkitRTCPeerConnection.
result.browser = 'chrome';

@@ -156,0 +160,0 @@ result.version = extractVersion(navigator.userAgent,

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc