浏览代码

rtc: remove default aspect ratio constraint

Some devies may not be able to satisfy it and gUM will fail. Tested with a
crappy old camera which can only do VGA resolution at 4/3 aspect ratio.
dev1
Saúl Ibarra Corretgé 5 年前
父节点
当前提交
26456dc8da
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      modules/RTC/RTCUtils.js

+ 0
- 1
modules/RTC/RTCUtils.js 查看文件

55
  */
55
  */
56
 const DEFAULT_CONSTRAINTS = {
56
 const DEFAULT_CONSTRAINTS = {
57
     video: {
57
     video: {
58
-        aspectRatio: 16 / 9,
59
         height: {
58
         height: {
60
             ideal: 720,
59
             ideal: 720,
61
             max: 720,
60
             max: 720,

正在加载...
取消
保存