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.76 to 3.6.77

9

lib/handlers/Chrome74.js

@@ -285,3 +285,10 @@ "use strict";

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T2';
if (encoding.scalabilityMode) {
encoding.scalabilityMode = `S1T${layers.temporalLayers}`;
}
else {
// By default Chrome enables 2 temporal layers (not in all OS but
// anyway).
encoding.scalabilityMode = 'S1T2';
}
}

@@ -288,0 +295,0 @@ }

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

const RemoteSdp_1 = require("./sdp/RemoteSdp");
const scalabilityModes_1 = require("../scalabilityModes");
const logger = new Logger_1.Logger('Firefox60');

@@ -263,2 +264,3 @@ const SCTP_NUM_STREAMS = { OS: 16, MIS: 2048 };

await this.setupTransport({ localDtlsRole: 'client', localSdpObject });
const layers = (0, scalabilityModes_1.parse)((encodings || [{}])[0].scalabilityMode);
logger.debug('send() | calling pc.setLocalDescription() [offer:%o]', offer);

@@ -298,3 +300,9 @@ await this._pc.setLocalDescription(offer);

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T2';
if (encoding.scalabilityMode) {
encoding.scalabilityMode = `S1T${layers.temporalLayers}`;
}
else {
// By default Firefox enables 2 temporal layers.
encoding.scalabilityMode = 'S1T2';
}
}

@@ -301,0 +309,0 @@ }

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

const RemoteSdp_1 = require("./sdp/RemoteSdp");
const scalabilityModes_1 = require("../scalabilityModes");
const logger = new Logger_1.Logger('Safari12');

@@ -221,2 +222,3 @@ const SCTP_NUM_STREAMS = { OS: 1024, MIS: 1024 };

}
const layers = (0, scalabilityModes_1.parse)((encodings || [{}])[0].scalabilityMode);
if (encodings && encodings.length > 1) {

@@ -259,3 +261,9 @@ logger.debug('send() | enabling legacy simulcast');

for (const encoding of sendingRtpParameters.encodings) {
encoding.scalabilityMode = 'S1T3';
if (encoding.scalabilityMode) {
encoding.scalabilityMode = `S1T${layers.temporalLayers}`;
}
else {
// By default Safari enables 3 temporal layers.
encoding.scalabilityMode = 'S1T3';
}
}

@@ -262,0 +270,0 @@ }

2

lib/index.d.ts

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

*/
export declare const version = "3.6.76";
export declare const version = "3.6.77";
/**

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

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

*/
exports.version = '3.6.76';
exports.version = '3.6.77';
/**

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

{
"name": "mediasoup-client",
"version": "3.6.76",
"version": "3.6.77",
"description": "mediasoup client side JavaScript library",

@@ -5,0 +5,0 @@ "contributors": [

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