浏览代码

Replaced string with constant

master
tsareg 9 年前
父节点
当前提交
3c0b730a1a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/RTC/JitsiLocalTrack.js

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

@@ -212,7 +212,7 @@ JitsiLocalTrack.prototype._setMute = function (mute) {
212 212
             // This path is only for camera.
213 213
             var streamOptions = {
214 214
                 cameraDeviceId: this.getDeviceId(),
215
-                devices: ["video"],
215
+                devices: [ MediaType.VIDEO ],
216 216
                 facingMode: this.getCameraFacingMode(),
217 217
                 resolution: this.resolution
218 218
             };

正在加载...
取消
保存