Skip to content

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

feat(local-recording) Update config (#11731)

Robert Pintilii40a62404444e
diff --git a/config.js b/config.js
index 0d706ad6bd..e32ef1593d 100644
--- a/config.js
+++ b/config.js
@@ -297,8 +297,8 @@ var config = {
// Local recording configuration.
// localRecording: {
- // // Whether to enable local recording or not.
- // enable: false,
+ // // Whether to disable local recording or not.
+ // disable: false,
// // Whether to notify all participants when a participant is recording locally.
// notifyAllParticipants: false
// },
diff --git a/react/features/recording/components/Recording/StartRecordingDialogContent.js b/react/features/recording/components/Recording/StartRecordingDialogContent.js
index 8a0bacd513..24abf2cce8 100644
--- a/react/features/recording/components/Recording/StartRecordingDialogContent.js
+++ b/react/features/recording/components/Recording/StartRecordingDialogContent.js
@@ -707,7 +707,7 @@ function _mapStateToProps(state) {
return {
..._abstractMapStateToProps(state),
isVpaas: isVpaasMeeting(state),
- _localRecordingEnabled: state['features/base/config'].localRecording.enable,
+ _localRecordingEnabled: !state['features/base/config'].localRecording.disable,
_localRecordingNoNotification: !state['features/base/config'].localRecording.notifyAllParticipants,
_styles: ColorSchemeRegistry.get(state, 'StartRecordingDialogContent')
};