From 0116f547ed8dcf033c29d4db8cb6e4b583470a08 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Tue, 26 Apr 2016 15:40:57 -0500 Subject: [PATCH] Log an error when not an audio nor a video track is added --- conference.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conference.js b/conference.js index f046e0191..85036ddb0 100644 --- a/conference.js +++ b/conference.js @@ -557,6 +557,9 @@ export default { this.useAudioStream(track); } else if (track.isVideoTrack()) { this.useVideoStream(track); + } else { + console.error( + "Ignored not an audio nor a video track: ", track); } }); roomLocker = createRoomLocker(room);