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

Enable feature by default
pull/11732/head jitsi-meet_7459
Robert Pintilii 3 years ago committed by GitHub
parent 4d6ca4383f
commit 40a6240444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config.js
  2. 2
      react/features/recording/components/Recording/StartRecordingDialogContent.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
// },

@ -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')
};

Loading…
Cancel
Save