Explorar el Código

Fixes some issue for FF

master
hristoterezov hace 10 años
padre
commit
f6ac3bdf58
Se han modificado 4 ficheros con 330 adiciones y 251 borrados
  1. 0
    10
      .editorconfig
  2. 1
    0
      .gitattributes
  3. 326
    239
      lib-jitsi-meet.js
  4. 3
    2
      modules/RTC/RTCUtils.js

+ 0
- 10
.editorconfig Ver fichero

1
-# http://editorconfig.org
2
-root = true
3
-
4
-[*]
5
-charset = utf-8
6
-end_of_line = lf
7
-indent_size = 4
8
-indent_style = space
9
-max_line_length = 80
10
-trim_trailing_whitespace = true

+ 1
- 0
.gitattributes Ver fichero

1
 *.bundle.js -text -diff
1
 *.bundle.js -text -diff
2
+.editorconfig

+ 326
- 239
lib-jitsi-meet.js
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 3
- 2
modules/RTC/RTCUtils.js Ver fichero

330
 }
330
 }
331
 
331
 
332
 function obtainDevices(options) {
332
 function obtainDevices(options) {
333
-    if (!options.devices || options.devices.length === 0) {
334
-        return options.successCallback(options.streams);
333
+    if(!options.devices || options.devices.length === 0) {
334
+        return options.successCallback(options.streams || {});
335
     }
335
     }
336
 
336
 
337
     var device = options.devices.splice(0, 1);
337
     var device = options.devices.splice(0, 1);
338
     options.deviceGUM[device](function (stream) {
338
     options.deviceGUM[device](function (stream) {
339
+            options.streams = options.streams || {};
339
             options.streams[device] = stream;
340
             options.streams[device] = stream;
340
             obtainDevices(options);
341
             obtainDevices(options);
341
         },
342
         },

Loading…
Cancelar
Guardar