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.3 to 1.0.4

4

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

@@ -18,3 +18,3 @@ "main": "index.js",

],
"moduleType": [],
"moduleType": []4
"keywords": [

@@ -21,0 +21,0 @@ "webrtc"

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

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

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

results.forEach((report) => {
if (report.id === 'bweforvideo') {
this.bweStats.add(Date.parse(report.timestamp), parseInt(report['googAvailableSendBandwidth'], 10));
} else if (report.type === 'ssrc') {
this.rttStats.add(Date.parse(report.timestamp), parseInt(report['googRtt'], 10));
if (report.id === 'bweforvideo' && report.googAvailableSendBandwidth) {
const value = parseInt(report['googAvailableSendBandwidth'], 10);
this.bweStats.add(Date.parse(report.timestamp), value);
} else if (report.type === 'ssrc' && report.googRtt) {
const value = parseInt(report['googRtt'], 10);
this.rttStats.add(Date.parse(report.timestamp), value);
// Grab the last stats.

@@ -152,0 +154,0 @@ this.videoStats[0] = report['googFrameWidthSent'];

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