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

mediasoup-client

Package Overview
Dependencies
Maintainers
2
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediasoup-client - npm Package Compare versions

Comparing version 3.7.4 to 3.7.5

lib/handlers/Firefox120.d.ts

2

lib/Device.d.ts

@@ -7,3 +7,3 @@ import { EnhancedEventEmitter } from './EnhancedEventEmitter';

import { AppData } from './types';
export type BuiltinHandlerName = 'Chrome111' | 'Chrome74' | 'Chrome70' | 'Chrome67' | 'Chrome55' | 'Firefox60' | 'Safari12' | 'Safari11' | 'Edge11' | 'ReactNativeUnifiedPlan' | 'ReactNative';
export type BuiltinHandlerName = 'Chrome111' | 'Chrome74' | 'Chrome70' | 'Chrome67' | 'Chrome55' | 'Firefox120' | 'Firefox60' | 'Safari12' | 'Safari11' | 'Edge11' | 'ReactNativeUnifiedPlan' | 'ReactNative';
export type DeviceOptions = {

@@ -10,0 +10,0 @@ /**

@@ -39,2 +39,3 @@ "use strict";

const Chrome55_1 = require("./handlers/Chrome55");
const Firefox120_1 = require("./handlers/Firefox120");
const Firefox60_1 = require("./handlers/Firefox60");

@@ -113,2 +114,5 @@ const Safari12_1 = require("./handlers/Safari12");

// Firefox.
else if (isFirefox && !isIOS && browserVersion >= 120) {
return 'Firefox120';
}
else if (isFirefox && !isIOS && browserVersion >= 60) {

@@ -243,2 +247,6 @@ return 'Firefox60';

}
case 'Firefox120': {
this._handlerFactory = Firefox120_1.Firefox120.createFactory();
break;
}
case 'Firefox60': {

@@ -245,0 +253,0 @@ this._handlerFactory = Firefox60_1.Firefox60.createFactory();

@@ -227,5 +227,2 @@ "use strict";

if (encodings && encodings.length > 1) {
encodings.forEach((encoding, idx) => {
encoding.rid = `r${idx}`;
});
// Set rid and verify scalabilityMode in each encoding.

@@ -236,3 +233,2 @@ // NOTE: Even if WebRTC allows different scalabilityMode (different number

// NOTE: If scalabilityMode is not given, Chrome will use L1T3.
let nextRid = 1;
let maxTemporalLayers = 1;

@@ -247,6 +243,6 @@ for (const encoding of encodings) {

}
for (const encoding of encodings) {
encoding.rid = `r${nextRid++}`;
encodings.forEach((encoding, idx) => {
encoding.rid = `r${idx}`;
encoding.scalabilityMode = `L1T${maxTemporalLayers}`;
}
});
}

@@ -253,0 +249,0 @@ const sendingRtpParameters = utils.clone(this._sendingRtpParametersByKind[track.kind]);

@@ -11,3 +11,3 @@ import debug from 'debug';

*/
export declare const version = "3.7.4";
export declare const version = "3.7.5";
/**

@@ -14,0 +14,0 @@ * Expose Device class and detectDevice() helper.

@@ -40,3 +40,3 @@ "use strict";

*/
exports.version = '3.7.4';
exports.version = '3.7.5';
/**

@@ -43,0 +43,0 @@ * Expose parseScalabilityMode() function.

{
"name": "mediasoup-client",
"version": "3.7.4",
"version": "3.7.5",
"description": "mediasoup client side TypeScript library",

@@ -83,7 +83,7 @@ "contributors": [

"@types/ua-parser-js": "^0.7.39",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.8.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3",

@@ -90,0 +90,0 @@ "jest": "^29.7.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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