@webex/plugin-meetings 2.38.2 → 2.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants.js +5 -1
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.js +14 -0
- package/dist/controls-options-manager/constants.js.map +1 -0
- package/dist/controls-options-manager/enums.js +15 -0
- package/dist/controls-options-manager/enums.js.map +1 -0
- package/dist/controls-options-manager/index.js +203 -0
- package/dist/controls-options-manager/index.js.map +1 -0
- package/dist/controls-options-manager/util.js +28 -0
- package/dist/controls-options-manager/util.js.map +1 -0
- package/dist/meeting/in-meeting-actions.js +8 -0
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +54 -7
- package/dist/meeting/index.js.map +1 -1
- package/package.json +17 -17
- package/src/constants.ts +4 -0
- package/src/controls-options-manager/constants.ts +5 -0
- package/src/controls-options-manager/enums.ts +6 -0
- package/src/controls-options-manager/index.ts +183 -0
- package/src/controls-options-manager/util.ts +20 -0
- package/src/meeting/in-meeting-actions.ts +16 -0
- package/src/meeting/index.ts +49 -0
- package/test/unit/spec/controls-options-manager/index.js +124 -0
- package/test/unit/spec/controls-options-manager/util.js +66 -0
- package/test/unit/spec/meeting/in-meeting-actions.ts +8 -0
- package/test/unit/spec/meeting/index.js +15 -0
|
@@ -36,6 +36,7 @@ import PeerConnectionManager from '@webex/plugin-meetings/src/peer-connection-ma
|
|
|
36
36
|
import ReconnectionManager from '@webex/plugin-meetings/src/reconnection-manager';
|
|
37
37
|
import MediaUtil from '@webex/plugin-meetings/src/media/util';
|
|
38
38
|
import RecordingUtil from '@webex/plugin-meetings/src/recording-controller/util';
|
|
39
|
+
import ControlsOptionsUtil from '@webex/plugin-meetings/src/controls-options-manager/util';
|
|
39
40
|
import LoggerProxy from '@webex/plugin-meetings/src/common/logs/logger-proxy';
|
|
40
41
|
import LoggerConfig from '@webex/plugin-meetings/src/common/logs/logger-config';
|
|
41
42
|
import TriggerProxy from '@webex/plugin-meetings/src/common/events/trigger-proxy';
|
|
@@ -3585,6 +3586,7 @@ describe('plugin-meetings', () => {
|
|
|
3585
3586
|
|
|
3586
3587
|
meeting.members = {locusUrlUpdate: sinon.stub().returns(Promise.resolve(test1))};
|
|
3587
3588
|
meeting.recordingController = {setLocusUrl: sinon.stub().returns(undefined)};
|
|
3589
|
+
meeting.controlsOptionsManager = {setLocusUrl: sinon.stub().returns(undefined)};
|
|
3588
3590
|
|
|
3589
3591
|
meeting.locusInfo.emit(
|
|
3590
3592
|
{function: 'test', file: 'test'},
|
|
@@ -3593,6 +3595,7 @@ describe('plugin-meetings', () => {
|
|
|
3593
3595
|
);
|
|
3594
3596
|
assert.calledWith(meeting.members.locusUrlUpdate, newLocusUrl);
|
|
3595
3597
|
assert.calledWith(meeting.recordingController.setLocusUrl, newLocusUrl);
|
|
3598
|
+
assert.calledWith(meeting.controlsOptionsManager.setLocusUrl, newLocusUrl);
|
|
3596
3599
|
assert.equal(meeting.locusUrl, newLocusUrl);
|
|
3597
3600
|
assert(meeting.locusId, '12345');
|
|
3598
3601
|
done();
|
|
@@ -4040,6 +4043,10 @@ describe('plugin-meetings', () => {
|
|
|
4040
4043
|
let canUserStopSpy;
|
|
4041
4044
|
let canUserPauseSpy;
|
|
4042
4045
|
let canUserResumeSpy;
|
|
4046
|
+
let canSetMuteOnEntrySpy;
|
|
4047
|
+
let canUnsetMuteOnEntrySpy;
|
|
4048
|
+
let canSetDisallowUnmuteSpy;
|
|
4049
|
+
let canUnsetDisallowUnmuteSpy;
|
|
4043
4050
|
let canUserRaiseHandSpy;
|
|
4044
4051
|
let bothLeaveAndEndMeetingAvailableSpy;
|
|
4045
4052
|
let canUserLowerAllHandsSpy;
|
|
@@ -4054,6 +4061,10 @@ describe('plugin-meetings', () => {
|
|
|
4054
4061
|
canUserStopSpy = sinon.spy(RecordingUtil, 'canUserStop');
|
|
4055
4062
|
canUserPauseSpy = sinon.spy(RecordingUtil, 'canUserPause');
|
|
4056
4063
|
canUserResumeSpy = sinon.spy(RecordingUtil, 'canUserResume');
|
|
4064
|
+
canSetMuteOnEntrySpy = sinon.spy(ControlsOptionsUtil, 'canSetMuteOnEntry');
|
|
4065
|
+
canUnsetMuteOnEntrySpy = sinon.spy(ControlsOptionsUtil, 'canUnsetMuteOnEntry');
|
|
4066
|
+
canSetDisallowUnmuteSpy = sinon.spy(ControlsOptionsUtil, 'canSetDisallowUnmute');
|
|
4067
|
+
canUnsetDisallowUnmuteSpy = sinon.spy(ControlsOptionsUtil, 'canUnsetDisallowUnmute');
|
|
4057
4068
|
inMeetingActionsSetSpy = sinon.spy(meeting.inMeetingActions, 'set');
|
|
4058
4069
|
canUserRaiseHandSpy = sinon.spy(MeetingUtil, 'canUserRaiseHand');
|
|
4059
4070
|
canUserLowerAllHandsSpy = sinon.spy(MeetingUtil, 'canUserLowerAllHands');
|
|
@@ -4095,6 +4106,10 @@ describe('plugin-meetings', () => {
|
|
|
4095
4106
|
assert.calledWith(canUserStopSpy, payload.info.userDisplayHints);
|
|
4096
4107
|
assert.calledWith(canUserPauseSpy, payload.info.userDisplayHints);
|
|
4097
4108
|
assert.calledWith(canUserResumeSpy, payload.info.userDisplayHints);
|
|
4109
|
+
assert.calledWith(canSetMuteOnEntrySpy, payload.info.userDisplayHints);
|
|
4110
|
+
assert.calledWith(canUnsetMuteOnEntrySpy, payload.info.userDisplayHints);
|
|
4111
|
+
assert.calledWith(canSetDisallowUnmuteSpy, payload.info.userDisplayHints);
|
|
4112
|
+
assert.calledWith(canUnsetDisallowUnmuteSpy, payload.info.userDisplayHints);
|
|
4098
4113
|
assert.calledWith(canUserRaiseHandSpy, payload.info.userDisplayHints);
|
|
4099
4114
|
assert.calledWith(bothLeaveAndEndMeetingAvailableSpy, payload.info.userDisplayHints);
|
|
4100
4115
|
assert.calledWith(canUserLowerAllHandsSpy, payload.info.userDisplayHints);
|