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.6.79 to 3.6.80

lib/handlers/Chrome111.d.ts

2

lib/Device.d.ts

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

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

@@ -9,0 +9,0 @@ /**

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

const Transport_1 = require("./Transport");
const Chrome111_1 = require("./handlers/Chrome111");
const Chrome74_1 = require("./handlers/Chrome74");

@@ -73,3 +74,6 @@ const Chrome70_1 = require("./handlers/Chrome70");

// Chrome, Chromium, and Edge.
if (browser.satisfies({ chrome: '>=74', chromium: '>=74', 'microsoft edge': '>=88' })) {
if (browser.satisfies({ chrome: '>=111', chromium: '>=111', 'microsoft edge': '>=111' })) {
return 'Chrome111';
}
else if (browser.satisfies({ chrome: '>=74', chromium: '>=74', 'microsoft edge': '>=88' })) {
return 'Chrome74';

@@ -114,3 +118,6 @@ }

const version = Number(match[1]);
if (version >= 74) {
if (version >= 111) {
return 'Chrome111';
}
else if (version >= 74) {
return 'Chrome74';

@@ -129,3 +136,3 @@ }

else {
return 'Chrome74';
return 'Chrome111';
}

@@ -188,2 +195,5 @@ }

switch (handlerName) {
case 'Chrome111':
this._handlerFactory = Chrome111_1.Chrome111.createFactory();
break;
case 'Chrome74':

@@ -190,0 +200,0 @@ this._handlerFactory = Chrome74_1.Chrome74.createFactory();

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

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
encoding.scalabilityMode = 'L1T3';
}

@@ -268,0 +268,0 @@ }

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

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
encoding.scalabilityMode = 'L1T3';
}

@@ -268,0 +268,0 @@ }

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

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
encoding.scalabilityMode = 'L1T3';
}

@@ -298,0 +298,0 @@ }

@@ -289,5 +289,3 @@ "use strict";

else {
// By default Chrome enables 2 temporal layers (not in all OS but
// anyway).
encoding.scalabilityMode = 'L1T2';
encoding.scalabilityMode = 'L1T3';
}

@@ -294,0 +292,0 @@ }

@@ -302,4 +302,3 @@ "use strict";

else {
// By default Firefox enables 2 temporal layers.
encoding.scalabilityMode = 'L1T2';
encoding.scalabilityMode = 'L1T3';
}

@@ -306,0 +305,0 @@ }

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

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
encoding.scalabilityMode = 'L1T3';
}

@@ -274,0 +274,0 @@ }

@@ -289,3 +289,8 @@ "use strict";

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
if (encoding.scalabilityMode) {
encoding.scalabilityMode = `L1T${layers.temporalLayers}`;
}
else {
encoding.scalabilityMode = 'L1T3';
}
}

@@ -292,0 +297,0 @@ }

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

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
encoding.scalabilityMode = 'L1T3';
}

@@ -266,0 +266,0 @@ }

@@ -260,7 +260,6 @@ "use strict";

if (encoding.scalabilityMode) {
encoding.scalabilityMode = `S1T${layers.temporalLayers}`;
encoding.scalabilityMode = `L1T${layers.temporalLayers}`;
}
else {
// By default Safari enables 3 temporal layers.
encoding.scalabilityMode = 'S1T3';
encoding.scalabilityMode = 'L1T3';
}

@@ -267,0 +266,0 @@ }

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

*/
export declare const version = "3.6.79";
export declare const version = "3.6.80";
/**

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

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

*/
exports.version = '3.6.79';
exports.version = '3.6.80';
/**

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

{
"name": "mediasoup-client",
"version": "3.6.79",
"version": "3.6.80",
"description": "mediasoup client side JavaScript library",

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

"fake-mediastreamtrack": "^1.1.6",
"jest": "^29.4.2",
"jest": "^29.4.3",
"open-cli": "^7.1.0",

@@ -86,0 +86,0 @@ "ts-jest": "^29.0.5",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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