Browse Source

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

master
William Liang 3 years ago
parent
commit
c246174555
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      react/features/video-quality/subscriber.js

+ 6
- 0
react/features/video-quality/subscriber.js View File

325
             }
325
             }
326
         }
326
         }
327
 
327
 
328
+        if (remoteScreenShares?.length) {
329
+            remoteScreenShares.forEach(sourceName => {
330
+                receiverConstraints.constraints[sourceName] = { 'maxHeight': VIDEO_QUALITY_LEVELS.ULTRA };
331
+            });
332
+        }
333
+
328
     } else {
334
     } else {
329
         receiverConstraints = {
335
         receiverConstraints = {
330
             constraints: {},
336
             constraints: {},

Loading…
Cancel
Save