소스 검색

Replaced string with constant

master
tsareg 8 년 전
부모
커밋
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
             };

Loading…
취소
저장