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
Adds method to obtain remote video type.
damenchob64f3a591327
diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex 8cbb077096..59070a3db9 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -700,6 +700,15 @@ UI.getLargeVideoResource = function () {return VideoLayout.getLargeVideoResource();};+/**+ * Return the type of the remote video.+ * @param jid the jid for the remote video+ * @returns the video type video or screen.+ */+UI.getRemoteVideoType = function (jid) {+ return VideoLayout.getRemoteVideoType(jid);+};+UI.getRoomNode = function () {if (roomNode)return roomNode;diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 5c4449e3f3..a17b5f506a 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -191,6 +191,15 @@ var VideoLayout = (function (my) {return LargeVideo.getResourceJid();};+ /**+ * Return the type of the remote video.+ * @param jid the jid for the remote video+ * @returns the video type video or screen.+ */+ my.getRemoteVideoType = function (jid) {+ return remoteVideoTypes[jid];+ };+/*** Called when large video update is finished* @param currentSmallVideo small video currently displayed on large video