Skip to content

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

Fix issue on mobile platforms

Radium Zheng49bdd53bee96
diff --git a/react/features/local-recording/components/LocalRecordingLabel.native.js b/react/features/local-recording/components/LocalRecordingLabel.native.js
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/react/features/local-recording/components/LocalRecordingLabel.js b/react/features/local-recording/components/LocalRecordingLabel.web.js
similarity index 100%
rename from react/features/local-recording/components/LocalRecordingLabel.js
rename to react/features/local-recording/components/LocalRecordingLabel.web.js
diff --git a/react/features/local-recording/middleware.js b/react/features/local-recording/middleware.js
index 0465459ad6..3f834c26a3 100644
--- a/react/features/local-recording/middleware.js
+++ b/react/features/local-recording/middleware.js
@@ -17,7 +17,7 @@ import { recordingController } from './controller';
declare var APP: Object;
declare var config: Object;
-const isFeatureEnabled = config.localRecording
+const isFeatureEnabled = typeof config === 'object' && config.localRecording
&& config.localRecording.enabled === true;
isFeatureEnabled