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

This commit is contained in:
paweldomas 2016-04-26 15:40:57 -05:00
parent 13a55089a5
commit 0116f547ed
1 changed files with 3 additions and 0 deletions

View File

@ -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);