@wireapp/avs 10.0.9 → 10.0.25

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/dist/avs_pc.js CHANGED
@@ -308,26 +308,19 @@ function getEncodingParameter(sender, isScreenShare) {
308
308
  var layerFound = false;
309
309
  params.encodings.forEach(function (coding) {
310
310
  if (coding.rid === 'l') {
311
- if (pc_env !== ENV_FIREFOX) {
312
- //@ts-ignore
313
- coding.scalabilityMode = 'L1T1';
314
- }
315
- if (pc_env === ENV_FIREFOX && isScreenShare) {
316
- coding.active = false;
317
- }
318
- else {
319
- coding.active = true;
320
- }
311
+ //@ts-ignore
312
+ coding.scalabilityMode = 'L1T1';
313
+ coding.active = true;
321
314
  coding.scaleResolutionDownBy = 4;
315
+ coding.maxBitrate = 250000;
322
316
  layerFound = true;
323
317
  }
324
318
  if (coding.rid === 'h') {
325
- if (pc_env !== ENV_FIREFOX) {
326
- //@ts-ignore
327
- coding.scalabilityMode = 'L1T1';
328
- }
319
+ //@ts-ignore
320
+ coding.scalabilityMode = 'L1T1';
329
321
  coding.scaleResolutionDownBy = 1;
330
322
  coding.active = true;
323
+ coding.maxBitrate = 3000000;
331
324
  layerFound = true;
332
325
  }
333
326
  });
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "prepack": "prettier -w src/avs_wcall.ts && tsc && cp src/*.js src/*.d.ts dist/",
22
22
  "test": "karma start"
23
23
  },
24
- "version": "10.0.9"
24
+ "version": "10.0.25"
25
25
  }