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

@twilio/webrtc

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio/webrtc - npm Package Compare versions

Comparing version 4.5.1 to 4.5.2

8

CHANGELOG.md

@@ -0,1 +1,9 @@

4.5.2 (January 4, 2022)
=========================
Bug Fixes
---------
- Fixed a bug where `audioLevel`, `frameRate`, and `captureDimensions` WebRTC stats are returning null on certain browsers. With this release, these stats are now populated whenever they are available. (VIDEO-3600)
4.5.1 (September 1, 2021)

@@ -2,0 +10,0 @@ =========================

9

lib/getstats.js

@@ -461,2 +461,3 @@ 'use strict';

var codec = null;
var localMedia = null;

@@ -471,2 +472,5 @@ response.forEach(function(stat) {

break;
case 'media-source':
localMedia = stat;
break;
case 'track':

@@ -496,2 +500,3 @@ track = stat;

source, // local rtp stats
localMedia,
track,

@@ -540,2 +545,3 @@ codec,

standardizedStats.frameWidthSent = frameWidth;
standardizedStats.frameWidthInput = track.frameWidth;
}

@@ -550,2 +556,3 @@ }

standardizedStats.frameHeightSent = frameHeight;
standardizedStats.frameHeightInput = track.frameHeight;
}

@@ -556,3 +563,3 @@ }

if (typeof framesPerSecond === 'number') {
standardizedStats.frameRateSent = framesPerSecond;
standardizedStats[isRemote ? 'frameRateReceived' : 'frameRateSent'] = framesPerSecond;
}

@@ -559,0 +566,0 @@

2

package.json
{
"name": "@twilio/webrtc",
"version": "4.5.1",
"version": "4.5.2",
"description": "WebRTC-related APIs and shims used by twilio-video.js",

@@ -5,0 +5,0 @@ "scripts": {

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