Skip to content

Commit ea9f0df

Browse files
authored
feat(plugin-meetings): service app recording fields (#4926)
1 parent b814079 commit ea9f0df

6 files changed

Lines changed: 313 additions & 59 deletions

File tree

packages/@webex/plugin-meetings/src/locus-info/controlsUtils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ ControlsUtils.parse = (controls: any) => {
2626
modifiedBy: ControlsUtils.getId(controls),
2727
paused: controls.record.paused ? controls.record.paused : false,
2828
recording: controls.record.recording,
29-
lastModified: controls.record.meta.lastModified,
29+
lastModified: controls.record.meta?.lastModified,
30+
modifiedByServiceAppName: controls.record.meta?.modifiedByServiceAppName,
31+
modifiedByServiceAppId: controls.record.meta?.modifiedByServiceAppId,
3032
};
3133
}
3234

packages/@webex/plugin-meetings/src/locus-info/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,6 +2085,8 @@ export default class LocusInfo extends EventsScope {
20852085
state,
20862086
modifiedBy: current.record.modifiedBy,
20872087
lastModified: current.record.lastModified,
2088+
modifiedByServiceAppName: current.record.modifiedByServiceAppName,
2089+
modifiedByServiceAppId: current.record.modifiedByServiceAppId,
20882090
}
20892091
);
20902092
}

packages/@webex/plugin-meetings/src/meeting/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2791,7 +2791,7 @@ export default class Meeting extends StatelessWebexPlugin {
27912791
private setupLocusControlsListener() {
27922792
this.locusInfo.on(
27932793
LOCUSINFO.EVENTS.CONTROLS_RECORDING_UPDATED,
2794-
({state, modifiedBy, lastModified}) => {
2794+
({state, modifiedBy, lastModified, modifiedByServiceAppName, modifiedByServiceAppId}) => {
27952795
let event;
27962796

27972797
switch (state) {
@@ -2817,6 +2817,8 @@ export default class Meeting extends StatelessWebexPlugin {
28172817
state: state === RECORDING_STATE.RESUMED ? RECORDING_STATE.RECORDING : state,
28182818
modifiedBy,
28192819
lastModified,
2820+
modifiedByServiceAppName,
2821+
modifiedByServiceAppId,
28202822
};
28212823
Trigger.trigger(
28222824
this,

0 commit comments

Comments
 (0)