@wireapp/avs 10.0.42 → 10.0.43

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
@@ -310,9 +310,9 @@ function getEncodingParameter(sender, isScreenShare) {
310
310
  if (coding.rid === 'l') {
311
311
  //@ts-ignore
312
312
  coding.scalabilityMode = 'L1T1';
313
- coding.active = true;
313
+ coding.active = !isScreenShare;
314
314
  coding.scaleResolutionDownBy = 2.0;
315
- coding.maxBitrate = 250000;
315
+ coding.maxBitrate = 500000;
316
316
  layerFound = true;
317
317
  }
318
318
  if (coding.rid === 'h') {
@@ -320,7 +320,7 @@ function getEncodingParameter(sender, isScreenShare) {
320
320
  coding.scalabilityMode = 'L1T1';
321
321
  coding.scaleResolutionDownBy = 1.0;
322
322
  coding.active = true;
323
- coding.maxBitrate = 3000000;
323
+ coding.maxBitrate = isScreenShare ? 1500000 : 3000000;
324
324
  layerFound = true;
325
325
  }
326
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.42"
24
+ "version": "10.0.43"
25
25
  }