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
1
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.1 to 1.0.2

2

package.json
{
"name": "webrtc-troubleshoot",
"version": "1.0.1",
"version": "1.0.2",
"description": "A way to add webrtc troubleshooting to your app",

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

@@ -12,3 +12,3 @@ // adapted from https://github.com/webrtc/testrtc

super(options);
this.name = 'Camera resolution test';
this.name = `Camera resolution test ${JSON.stringify(resolutions)}`;
this.resolutions = resolutions;

@@ -15,0 +15,0 @@ this.duration = options.duration;

@@ -47,7 +47,6 @@ // adapted from https://github.com/webrtc/testrtc/blob/master/src/js/bandwidth_test.js

this.addLog('info', 'Video Bandwidth Test');
if (!this.options.iceConfig.iceServers.length) {
this.addLog('error', 'No ice servers were provided');
return this.reject(this.log);
const error = new Error('No ice servers were provided');
error.details = this.log;
return this.reject(error);
}

@@ -241,3 +240,1 @@ this.call = new WebrtcCall(this.options.iceConfig);

}
export default VideoBandwidthTest;

@@ -59,9 +59,16 @@ export default class TestSuite {

return test.start().then((results) => {
if (results) {
this.results.push(results);
}
this.results.push({
status: 'passed',
name: test.name,
results
});
return next();
}, (err) => {
this.hasError = true;
const errInfo = { message: err.message, details: err.details };
const errInfo = {
status: 'failed',
name: test.name,
message: err.message,
details: err.details
};
this.results.push(errInfo);

@@ -68,0 +75,0 @@ this.logger.error('Test failure', errInfo, test);

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