Browse Source

Replaced string with constant

master
tsareg 9 years ago
parent
commit
3c0b730a1a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/RTC/JitsiLocalTrack.js

+ 1
- 1
modules/RTC/JitsiLocalTrack.js View File

@@ -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…
Cancel
Save