Skip to content

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

doc(LargeVideoManager): fills missing JS doc

paweldomas0aea799b5005
diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js
index e0934ee742..69166394ee 100644
--- a/modules/UI/videolayout/LargeVideoManager.js
+++ b/modules/UI/videolayout/LargeVideoManager.js
@@ -5,12 +5,18 @@ import Avatar from "../avatar/Avatar";
import {createDeferred} from '../../util/helpers';
import UIUtil from "../util/UIUtil";
import {VideoContainer, VIDEO_CONTAINER_TYPE} from "./VideoContainer";
+import LargeContainer from "./LargeContainer";
/**
* Manager for all Large containers.
*/
export default class LargeVideoManager {
constructor (emitter) {
+ /**
+ * The map of <tt>LargeContainer</tt>s where the key is the video
+ * container type.
+ * @type {Object.<string, LargeContainer>}
+ */
this.containers = {};
this.state = VIDEO_CONTAINER_TYPE;
@@ -136,6 +142,10 @@ export default class LargeVideoManager {
// change the avatar url on large
this.updateAvatar(Avatar.getAvatarUrl(id));
+ // FIXME that does not really make sense, because the videoType
+ // (camera or desktop) is a completely different thing than
+ // the video container type (Etherpad, SharedVideo, VideoContainer).
+ // ----------------------------------------------------------------
// If we the continer is VIDEO_CONTAINER_TYPE, we need to check
// its stream whether exist and is muted to set isVideoMuted
// in rest of the cases it is false