From 2ecfbc5b013a2ebfd171bd3fea83768e48f241aa Mon Sep 17 00:00:00 2001 From: Andreas Pehrson Date: Fri, 22 Nov 2024 13:11:12 +0000 Subject: [PATCH] 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 --- .../test_peerConnection_simulcastOffer_screenshare.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/media/webrtc/tests/mochitests/test_peerConnection_simulcastOffer_screenshare.html b/dom/media/webrtc/tests/mochitests/test_peerConnection_simulcastOffer_screenshare.html index 30f4e3019c07..0af9c2b3f459 100644 --- a/dom/media/webrtc/tests/mochitests/test_peerConnection_simulcastOffer_screenshare.html +++ b/dom/media/webrtc/tests/mochitests/test_peerConnection_simulcastOffer_screenshare.html @@ -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 },