New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webrtc-troubleshoot

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-troubleshoot - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

bower.json
{
"name": "webrtc-troubleshooter",
"version": "1.0.5",
"version": "1.0.7",
"description": "A way to add webrtc troubleshooting to your app",

@@ -5,0 +5,0 @@ "main": "index.js",

{
"name": "webrtc-troubleshoot",
"version": "1.0.6",
"version": "1.0.7",
"description": "A way to add webrtc troubleshooting to your app",

@@ -5,0 +5,0 @@ "main": "index.js",

import Test from '../utils/Test';
const localMedia = require('localMedia');
const MIC_DETECTION_THRESHOLD = -100;

@@ -32,3 +33,3 @@ class AudioTest extends Test {

this.localMedia.on('volumeChange', (volume) => {
if (volume > Number.NEGATIVE_INFINITY) {
if (volume > MIC_DETECTION_THRESHOLD) {
window.clearTimeout(volumeCheckFailure);

@@ -35,0 +36,0 @@ this.resolve();

@@ -64,3 +64,3 @@ /* global WebRTCTroubleshooter */

console.log('Finished the tests', results);
}, function(err) {
}, function (err) {
console.warn('test failure', err, err.details);

@@ -67,0 +67,0 @@ });

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