@wireapp/avs 10.0.34 → 10.0.35
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_core.js +1 -1
- package/dist/avs_pc.js +6 -2
- package/package.json +1 -1
package/dist/avs_pc.js
CHANGED
|
@@ -311,14 +311,14 @@ function getEncodingParameter(sender, isScreenShare) {
|
|
|
311
311
|
//@ts-ignore
|
|
312
312
|
coding.scalabilityMode = 'L1T1';
|
|
313
313
|
coding.active = true;
|
|
314
|
-
coding.scaleResolutionDownBy = 4;
|
|
314
|
+
coding.scaleResolutionDownBy = 4.0;
|
|
315
315
|
coding.maxBitrate = 250000;
|
|
316
316
|
layerFound = true;
|
|
317
317
|
}
|
|
318
318
|
if (coding.rid === 'h') {
|
|
319
319
|
//@ts-ignore
|
|
320
320
|
coding.scalabilityMode = 'L1T1';
|
|
321
|
-
coding.scaleResolutionDownBy = 1;
|
|
321
|
+
coding.scaleResolutionDownBy = 1.0;
|
|
322
322
|
coding.active = true;
|
|
323
323
|
coding.maxBitrate = 3000000;
|
|
324
324
|
layerFound = true;
|
|
@@ -785,6 +785,10 @@ function sdpCbrMap(sdp) {
|
|
|
785
785
|
outline = null;
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
|
+
else if (sdpLine.startsWith('a=simulcast:recv l;h') && pc_env !== ENV_FIREFOX) {
|
|
789
|
+
// add conference attribute for chrome
|
|
790
|
+
sdpLines.push('a=x-google-flag:conference');
|
|
791
|
+
}
|
|
788
792
|
// reorder rids for firefox
|
|
789
793
|
else if (sdpLine.startsWith('a=simulcast:recv l;h') && pc_env === ENV_FIREFOX) {
|
|
790
794
|
outline = 'a=simulcast:recv h;l';
|
package/package.json
CHANGED