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
             // This path is only for camera.
212
             // This path is only for camera.
213
             var streamOptions = {
213
             var streamOptions = {
214
                 cameraDeviceId: this.getDeviceId(),
214
                 cameraDeviceId: this.getDeviceId(),
215
-                devices: ["video"],
215
+                devices: [ MediaType.VIDEO ],
216
                 facingMode: this.getCameraFacingMode(),
216
                 facingMode: this.getCameraFacingMode(),
217
                 resolution: this.resolution
217
                 resolution: this.resolution
218
             };
218
             };

Loading…
Cancel
Save