|
@@ -446,15 +446,10 @@ export default class JingleSessionPC extends JingleSession {
|
446
|
446
|
pcOptions.disableSimulcast
|
447
|
447
|
= options.disableSimulcast || options.videoQuality?.preferredCodec === CodecMimeType.H264;
|
448
|
448
|
|
449
|
|
- // Disable simulcast for low fps screenshare and enable it for high fps screenshare.
|
450
|
|
- // testing.capScreenshareBitrate config.js setting has now been deprecated.
|
|
449
|
+ // Do not send lower spatial layers for low fps screenshare and enable them only for high fps screenshare.
|
451
|
450
|
pcOptions.capScreenshareBitrate = pcOptions.disableSimulcast
|
452
|
451
|
|| !(typeof options.desktopSharingFrameRate?.max === 'number'
|
453
|
452
|
&& options.desktopSharingFrameRate?.max > SS_DEFAULT_FRAME_RATE);
|
454
|
|
-
|
455
|
|
- // add the capScreenshareBitrate to the permanent properties so that it's included with every event that we
|
456
|
|
- // send to the analytics backend.
|
457
|
|
- Statistics.analytics.addPermanentProperties({ capScreenshareBitrate: pcOptions.capScreenshareBitrate });
|
458
|
453
|
}
|
459
|
454
|
|
460
|
455
|
if (options.startSilent) {
|