瀏覽代碼

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

master
William Liang 3 年之前
父節點
當前提交
c246174555
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      react/features/video-quality/subscriber.js

+ 6
- 0
react/features/video-quality/subscriber.js 查看文件

@@ -325,6 +325,12 @@ function _updateReceiverVideoConstraints({ getState }) {
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 334
     } else {
329 335
         receiverConstraints = {
330 336
             constraints: {},

Loading…
取消
儲存