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
ref(video-layout): create middleware to update video layout
Leonard Kimc4b31435fbac
diff --git a/react/features/app/components/App.web.js b/react/features/app/components/App.web.jsindex aaa8c18efc..aa3dfcc467 100644--- a/react/features/app/components/App.web.js+++ b/react/features/app/components/App.web.js@@ -5,6 +5,7 @@ import '../../base/responsive-ui';import { getLocationContextRoot } from '../../base/util';import '../../chat';import '../../room-lock';+import '../../video-layout';import { AbstractApp } from './AbstractApp';diff --git a/react/features/video-layout/index.js b/react/features/video-layout/index.jsnew file mode 100644index 0000000000..d436892893--- /dev/null+++ b/react/features/video-layout/index.js@@ -0,0 +1 @@+import './middleware';diff --git a/react/features/video-layout/middleware.native.js b/react/features/video-layout/middleware.native.jsnew file mode 100644index 0000000000..e69de29bb2diff --git a/react/features/video-layout/middleware.web.js b/react/features/video-layout/middleware.web.jsnew file mode 100644index 0000000000..c0930695de--- /dev/null+++ b/react/features/video-layout/middleware.web.js@@ -0,0 +1,12 @@+import { MiddlewareRegistry } from '../base/redux';++/**+ * Middleware which intercepts actions and updates the legacy component+ * {@code VideoLayout} as needed. The purpose of this middleware is to redux-ify+ * {@code VideoLayout} without having to simultaneously react-ifying it.+ *+ * @param {Store} store - The redux store.+ * @returns {Function}+ */+// eslint-disable-next-line no-unused-vars+MiddlewareRegistry.register(store => next => action => next(action));