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
fix(SmallVideo) screen-sharing indicator
Saúl Ibarra Corretgé119b79fd8416
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.jsindex a3ed26d6f0..f01278293b 100644--- a/modules/UI/videolayout/RemoteVideo.js+++ b/modules/UI/videolayout/RemoteVideo.js@@ -373,7 +373,6 @@ export default class RemoteVideo extends SmallVideo {if (stream === this.videoStream) {this.videoStream = null;- this.videoType = undefined;}this.updateView();@@ -484,7 +483,6 @@ export default class RemoteVideo extends SmallVideo {if (isVideo) {this.videoStream = stream;- this.videoType = stream.videoType;} else {this.audioStream = stream;}diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.jsindex 1319fc2459..8a4c9ca22e 100644--- a/modules/UI/videolayout/SmallVideo.js+++ b/modules/UI/videolayout/SmallVideo.js@@ -243,6 +243,10 @@ export default class SmallVideo {* or hidden*/setScreenSharing(isScreenSharing) {+ if (isScreenSharing === this.isScreenSharing) {+ return;+ }+this.isScreenSharing = isScreenSharing;this.updateView();this.updateStatusBar();diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 386baccceb..a0072ac473 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -489,7 +489,7 @@ const VideoLayout = {onVideoTypeChanged(id, newVideoType) {const remoteVideo = remoteVideos[id];- if (!remoteVideo || remoteVideo.videoType === newVideoType) {+ if (!remoteVideo) {return;}