Bug 1932381 - Limit screen capture resolution in simulcast test to ease load on CI machines. r=webrtc-reviewers,mjf

Differential Revision: https://phabricator.services.mozilla.com/D229809
This commit is contained in:
Andreas Pehrson 2024-11-22 13:11:12 +00:00
parent 92ea7df894
commit 2ecfbc5b01

View File

@ -41,7 +41,7 @@
// One send transceiver, that will be used to send both simulcast streams
SpecialPowers.wrap(document).notifyUserGestureActivation();
const videoStream = await navigator.mediaDevices.getDisplayMedia();
const videoStream = await navigator.mediaDevices.getDisplayMedia({video: {width: {max: 640}}});
const sendEncodings = [
{ rid: '0' },
{ rid: '1', maxBitrate: 100000, scaleResolutionDownBy: 2 },