Log an error when not an audio nor a video track is added
This commit is contained in:
parent
13a55089a5
commit
0116f547ed
|
@ -557,6 +557,9 @@ export default {
|
||||||
this.useAudioStream(track);
|
this.useAudioStream(track);
|
||||||
} else if (track.isVideoTrack()) {
|
} else if (track.isVideoTrack()) {
|
||||||
this.useVideoStream(track);
|
this.useVideoStream(track);
|
||||||
|
} else {
|
||||||
|
console.error(
|
||||||
|
"Ignored not an audio nor a video track: ", track);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
roomLocker = createRoomLocker(room);
|
roomLocker = createRoomLocker(room);
|
||||||
|
|
Loading…
Reference in New Issue