Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(multi-stream) use highest video quality for screenshare

William Liangc246174555de
diff --git a/react/features/video-quality/subscriber.js b/react/features/video-quality/subscriber.js
index efd6a0fb29..e5d77e70c8 100644
--- a/react/features/video-quality/subscriber.js
+++ b/react/features/video-quality/subscriber.js
@@ -325,6 +325,12 @@ function _updateReceiverVideoConstraints({ getState }) {
}
}
+ if (remoteScreenShares?.length) {
+ remoteScreenShares.forEach(sourceName => {
+ receiverConstraints.constraints[sourceName] = { 'maxHeight': VIDEO_QUALITY_LEVELS.ULTRA };
+ });
+ }
+
} else {
receiverConstraints = {
constraints: {},