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
add guard before APP in middleware.js
Radium Zheng0410af9e5e8a
diff --git a/react/features/local-recording/middleware.js b/react/features/local-recording/middleware.jsindex 84bd201158..0465459ad6 100644--- a/react/features/local-recording/middleware.js+++ b/react/features/local-recording/middleware.js@@ -64,10 +64,11 @@ isFeatureEnabled}, 10000));};- APP.keyboardshortcut.registerShortcut('L', null, () => {- sendAnalytics(createShortcutEvent('local.recording'));- dispatch(toggleDialog(LocalRecordingInfoDialog));- }, 'keyboardShortcuts.localRecording');+ typeof APP === 'object' && typeof APP.keyboardshortcut === 'object'+ && APP.keyboardshortcut.registerShortcut('L', null, () => {+ sendAnalytics(createShortcutEvent('local.recording'));+ dispatch(toggleDialog(LocalRecordingInfoDialog));+ }, 'keyboardShortcuts.localRecording');break;case APP_WILL_UNMOUNT:recordingController.onStateChanged = null;