mediasoup-client 3.6.78 → 3.6.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/handlers/Chrome74.js +2 -2
- package/lib/handlers/Firefox60.js +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/handlers/Chrome74.js
CHANGED
|
@@ -283,12 +283,12 @@ class Chrome74 extends HandlerInterface_1.HandlerInterface {
|
|
|
283
283
|
sendingRtpParameters.codecs[0].mimeType.toLowerCase() === 'video/h264')) {
|
|
284
284
|
for (const encoding of sendingRtpParameters.encodings) {
|
|
285
285
|
if (encoding.scalabilityMode) {
|
|
286
|
-
encoding.scalabilityMode = `
|
|
286
|
+
encoding.scalabilityMode = `L1T${layers.temporalLayers}`;
|
|
287
287
|
}
|
|
288
288
|
else {
|
|
289
289
|
// By default Chrome enables 2 temporal layers (not in all OS but
|
|
290
290
|
// anyway).
|
|
291
|
-
encoding.scalabilityMode = '
|
|
291
|
+
encoding.scalabilityMode = 'L1T2';
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
}
|
|
@@ -296,11 +296,11 @@ class Firefox60 extends HandlerInterface_1.HandlerInterface {
|
|
|
296
296
|
sendingRtpParameters.codecs[0].mimeType.toLowerCase() === 'video/h264')) {
|
|
297
297
|
for (const encoding of sendingRtpParameters.encodings) {
|
|
298
298
|
if (encoding.scalabilityMode) {
|
|
299
|
-
encoding.scalabilityMode = `
|
|
299
|
+
encoding.scalabilityMode = `L1T${layers.temporalLayers}`;
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
302
302
|
// By default Firefox enables 2 temporal layers.
|
|
303
|
-
encoding.scalabilityMode = '
|
|
303
|
+
encoding.scalabilityMode = 'L1T2';
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED