Explorar el Código

Log an error when not an audio nor a video track is added

master
paweldomas hace 9 años
padre
commit
0116f547ed
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      conference.js

+ 3
- 0
conference.js Ver fichero

@@ -557,6 +557,9 @@ export default {
557 557
                 this.useAudioStream(track);
558 558
             } else if (track.isVideoTrack()) {
559 559
                 this.useVideoStream(track);
560
+            } else {
561
+                console.error(
562
+                    "Ignored not an audio nor a video track: ", track);
560 563
             }
561 564
         });
562 565
         roomLocker = createRoomLocker(room);

Loading…
Cancelar
Guardar