diff --git a/packages/@webex/plugin-meetings/src/meeting/in-meeting-actions.ts b/packages/@webex/plugin-meetings/src/meeting/in-meeting-actions.ts index 0c4ffa537ac..4862ce9f3f9 100644 --- a/packages/@webex/plugin-meetings/src/meeting/in-meeting-actions.ts +++ b/packages/@webex/plugin-meetings/src/meeting/in-meeting-actions.ts @@ -26,7 +26,7 @@ interface IInMeetingActions { canStartRecording?: boolean; canPauseRecording?: boolean; canResumeRecording?: boolean; - isPremiseRecordinEnabled?: boolean; + isPremiseRecordingEnabled?: boolean; canStopRecording?: boolean; canRaiseHand?: boolean; canLowerAllHands?: boolean; @@ -118,7 +118,7 @@ export default class InMeetingActions implements IInMeetingActions { canResumeRecording = null; - isPremiseRecordinEnabled = null; + isPremiseRecordingEnabled = null; canStopRecording = null; @@ -291,7 +291,7 @@ export default class InMeetingActions implements IInMeetingActions { canPauseRecording: this.canPauseRecording, canResumeRecording: this.canResumeRecording, canStopRecording: this.canStopRecording, - isPremiseRecordinEnabled: this.isPremiseRecordinEnabled, + isPremiseRecordingEnabled: this.isPremiseRecordingEnabled, canRaiseHand: this.canRaiseHand, canLowerAllHands: this.canLowerAllHands, canLowerSomeoneElsesHand: this.canLowerSomeoneElsesHand, diff --git a/packages/@webex/plugin-meetings/src/meeting/index.ts b/packages/@webex/plugin-meetings/src/meeting/index.ts index a788e46cd36..f92a5f69c23 100644 --- a/packages/@webex/plugin-meetings/src/meeting/index.ts +++ b/packages/@webex/plugin-meetings/src/meeting/index.ts @@ -3766,6 +3766,10 @@ export default class Meeting extends StatelessWebexPlugin { this.userDisplayHints, this.selfUserPolicies ), + isPremiseRecordingEnabled: RecordingUtil.isPremiseRecordingEnabled( + this.userDisplayHints, + this.selfUserPolicies + ), canRaiseHand: MeetingUtil.canUserRaiseHand(this.userDisplayHints), canLowerAllHands: MeetingUtil.canUserLowerAllHands(this.userDisplayHints), canLowerSomeoneElsesHand: MeetingUtil.canUserLowerSomeoneElsesHand(this.userDisplayHints), diff --git a/packages/@webex/plugin-meetings/src/recording-controller/index.ts b/packages/@webex/plugin-meetings/src/recording-controller/index.ts index 8eb182159f5..cf7d9bfcfbe 100644 --- a/packages/@webex/plugin-meetings/src/recording-controller/index.ts +++ b/packages/@webex/plugin-meetings/src/recording-controller/index.ts @@ -278,7 +278,7 @@ export default class RecordingController { * @returns {Promise} */ private recordingFacade(action: RecordingAction): Promise { - const premiseRecStatus = Util.isPremiseRecordinEnabled( + const premiseRecStatus = Util.isPremiseRecordingEnabled( this.displayHints, this.selfUserPolicies ); diff --git a/packages/@webex/plugin-meetings/src/recording-controller/util.ts b/packages/@webex/plugin-meetings/src/recording-controller/util.ts index 35c10d8e00c..88a242bde8d 100644 --- a/packages/@webex/plugin-meetings/src/recording-controller/util.ts +++ b/packages/@webex/plugin-meetings/src/recording-controller/util.ts @@ -34,7 +34,7 @@ const canUserStop = ( displayHints.includes(DISPLAY_HINTS.PREMISE_RECORDING_CONTROL_STOP)) && MeetingUtil.selfSupportsFeature(SELF_POLICY.SUPPORT_NETWORK_BASED_RECORD, userPolicies); -const isPremiseRecordinEnabled = ( +const isPremiseRecordingEnabled = ( displayHints: Array, userPolicies: Record ): boolean => @@ -84,7 +84,7 @@ export default { canUserPause, canUserResume, canUserStop, - isPremiseRecordinEnabled, + isPremiseRecordingEnabled, deriveRecordingStates, extractLocusId, }; diff --git a/packages/@webex/plugin-meetings/test/unit/spec/meeting/in-meeting-actions.ts b/packages/@webex/plugin-meetings/test/unit/spec/meeting/in-meeting-actions.ts index 88a778fc17a..c4299793503 100644 --- a/packages/@webex/plugin-meetings/test/unit/spec/meeting/in-meeting-actions.ts +++ b/packages/@webex/plugin-meetings/test/unit/spec/meeting/in-meeting-actions.ts @@ -33,7 +33,7 @@ describe('plugin-meetings', () => { canStartManualCaption: null, canStopManualCaption: null, isManualCaptionActive: null, - isPremiseRecordinEnabled: null, + isPremiseRecordingEnabled: null, isSaveTranscriptsEnabled: null, isWebexAssistantActive: null, canViewCaptionPanel: null, @@ -127,7 +127,7 @@ describe('plugin-meetings', () => { 'canStartManualCaption', 'canStopManualCaption', 'isManualCaptionActive', - 'isPremiseRecordinEnabled', + 'isPremiseRecordingEnabled', 'isSaveTranscriptsEnabled', 'isWebexAssistantActive', 'canViewCaptionPanel', diff --git a/packages/@webex/plugin-meetings/test/unit/spec/recording-controller/util.js b/packages/@webex/plugin-meetings/test/unit/spec/recording-controller/util.js index 6c9ee3a3b6b..0358a7bf148 100644 --- a/packages/@webex/plugin-meetings/test/unit/spec/recording-controller/util.js +++ b/packages/@webex/plugin-meetings/test/unit/spec/recording-controller/util.js @@ -187,7 +187,7 @@ describe('plugin-meetings', () => { ); }); - it('can start recording when the correct display hint is present and the policy is true', () => { + it('can resume recording when the correct display hint is present and the policy is true', () => { locusInfo.parsedLocus.info.userDisplayHints.push('RECORDING_CONTROL_RESUME'); assert.equal(