瀏覽代碼

fix(presenter): go back to using standard resolutions for presenter

master
Jaya Allamsetty 5 年之前
父節點
當前提交
8dbd1ba1b7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      react/features/base/tracks/functions.js

+ 2
- 2
react/features/base/tracks/functions.js 查看文件

@@ -27,8 +27,8 @@ export async function createLocalPresenterTrack(options, desktopHeight) {
27 27
 
28 28
     // compute the constraints of the camera track based on the resolution
29 29
     // of the desktop screen that is being shared.
30
-    const cameraHeights = [ 120, 180, 240, 360, 480, 600, 720 ];
31
-    const proportion = 4;
30
+    const cameraHeights = [ 180, 270, 360, 540, 720 ];
31
+    const proportion = 5;
32 32
     const result = cameraHeights.find(
33 33
             height => (desktopHeight / proportion) < height);
34 34
     const constraints = {

Loading…
取消
儲存