Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
cleanup: Simplify code.
Boris Grozev0ca9389e4bd3
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex a38a4b2ca2..5458b76ff9 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -406,13 +406,11 @@ var VideoLayout = {addRemoteVideoContainer (id, remoteVideo) {remoteVideos[id] = remoteVideo;- let videoType = VideoLayout.getRemoteVideoType(id);- if (!videoType) {+ if (!remoteVideo.getVideoType()) {// make video type the default one (camera)// FIXME container type is not a video type- videoType = VIDEO_CONTAINER_TYPE;+ remoteVideo.setVideoType(VIDEO_CONTAINER_TYPE);}- remoteVideo.setVideoType(videoType);// In case this is not currently in the last n we don't show it.if (localLastNCount && localLastNCount > 0 &&