浏览代码

config: remove aspect ratio constraint from config example

Some cameras may not be able to satisfy it and gUM will fail.

Refs: https://github.com/jitsi/lib-jitsi-meet/pull/1066
master
Saúl Ibarra Corretgé 5 年前
父节点
当前提交
8115fb5e78
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      config.js

+ 2
- 3
config.js 查看文件

@@ -111,11 +111,10 @@ var config = {
111 111
     // w3c spec-compliant video constraints to use for video capture. Currently
112 112
     // used by browsers that return true from lib-jitsi-meet's
113 113
     // util#browser#usesNewGumFlow. The constraints are independent from
114
-    // this config's resolution value. Defaults to requesting an ideal aspect
115
-    // ratio of 16:9 with an ideal resolution of 720.
114
+    // this config's resolution value. Defaults to requesting an ideal
115
+    // resolution of 720p.
116 116
     // constraints: {
117 117
     //     video: {
118
-    //         aspectRatio: 16 / 9,
119 118
     //         height: {
120 119
     //             ideal: 720,
121 120
     //             max: 720,

正在加载...
取消
保存