ソースを参照

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 = {

読み込み中…
キャンセル
保存