Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

paweldomas0116f547ed8d
diff --git a/conference.js b/conference.js
index f046e0191c..85036ddb0d 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);