@webex/plugin-meetings 3.0.0-beta.133 → 3.0.0-beta.135
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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +46 -35
- package/dist/breakouts/index.js.map +1 -1
- package/dist/common/logs/logger-proxy.js +1 -1
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/constants.js +4 -3
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/util.js +17 -11
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/locus-info/index.js +0 -8
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/parser.js +1 -1
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.js +6 -18
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/meeting/index.js +9 -7
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/index.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +1 -0
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/roap/request.js.map +1 -1
- package/dist/types/constants.d.ts +2 -1
- package/package.json +19 -19
- package/src/breakouts/index.ts +44 -28
- package/src/common/logs/logger-proxy.ts +1 -1
- package/src/constants.ts +2 -1
- package/src/controls-options-manager/util.ts +16 -11
- package/src/locus-info/index.ts +2 -13
- package/src/locus-info/parser.ts +1 -1
- package/src/locus-info/selfUtils.ts +6 -26
- package/src/meeting/index.ts +16 -7
- package/src/meetings/index.ts +0 -1
- package/src/multistream/remoteMediaManager.ts +1 -0
- package/src/reconnection-manager/index.ts +0 -1
- package/src/roap/request.ts +0 -1
- package/test/unit/spec/breakouts/index.ts +72 -48
- package/test/unit/spec/controls-options-manager/util.js +16 -2
- package/test/unit/spec/locus-info/index.js +0 -21
- package/test/unit/spec/locus-info/selfUtils.js +6 -37
- package/test/unit/spec/meeting/index.js +15 -14
|
@@ -4867,6 +4867,7 @@ describe('plugin-meetings', () => {
|
|
|
4867
4867
|
|
|
4868
4868
|
it('listens to the self roles changed event', () => {
|
|
4869
4869
|
const payload = {oldRoles: [], newRoles: ['COHOST']};
|
|
4870
|
+
meeting.breakouts.updateCanManageBreakouts = sinon.stub();
|
|
4870
4871
|
|
|
4871
4872
|
meeting.locusInfo.emit(
|
|
4872
4873
|
{function: 'test', file: 'test'},
|
|
@@ -4874,6 +4875,7 @@ describe('plugin-meetings', () => {
|
|
|
4874
4875
|
payload
|
|
4875
4876
|
);
|
|
4876
4877
|
|
|
4878
|
+
assert.calledOnceWithExactly(meeting.breakouts.updateCanManageBreakouts, true);
|
|
4877
4879
|
assert.calledWith(
|
|
4878
4880
|
TriggerProxy.trigger,
|
|
4879
4881
|
meeting,
|
|
@@ -4884,19 +4886,6 @@ describe('plugin-meetings', () => {
|
|
|
4884
4886
|
});
|
|
4885
4887
|
});
|
|
4886
4888
|
|
|
4887
|
-
describe('#setUpBreakoutsPreAssignmentsListener', () => {
|
|
4888
|
-
it('listens to the self moderator or cohost upgrade event', () => {
|
|
4889
|
-
meeting.breakouts.queryPreAssignments = sinon.stub();
|
|
4890
|
-
const payload = 'payload';
|
|
4891
|
-
meeting.locusInfo.emit(
|
|
4892
|
-
{function: 'test', file: 'test'},
|
|
4893
|
-
'SELF_MODERATOR_OR_COHOST_UPGRADE',
|
|
4894
|
-
payload,
|
|
4895
|
-
);
|
|
4896
|
-
assert.calledOnceWithExactly(meeting.breakouts.queryPreAssignments, payload);
|
|
4897
|
-
});
|
|
4898
|
-
});
|
|
4899
|
-
|
|
4900
4889
|
describe('#setUpBreakoutsListener', () => {
|
|
4901
4890
|
it('listens to the closing event from breakouts and triggers the closing event', () => {
|
|
4902
4891
|
TriggerProxy.trigger.reset();
|
|
@@ -4972,6 +4961,18 @@ describe('plugin-meetings', () => {
|
|
|
4972
4961
|
helpEvent
|
|
4973
4962
|
);
|
|
4974
4963
|
});
|
|
4964
|
+
|
|
4965
|
+
it('listens to the preAssignments update event from breakouts and triggers the update event', () => {
|
|
4966
|
+
TriggerProxy.trigger.reset();
|
|
4967
|
+
meeting.breakouts.trigger('PRE_ASSIGNMENTS_UPDATE');
|
|
4968
|
+
|
|
4969
|
+
assert.calledWith(
|
|
4970
|
+
TriggerProxy.trigger,
|
|
4971
|
+
meeting,
|
|
4972
|
+
{file: 'meeting/index', function: 'setUpBreakoutsListener'},
|
|
4973
|
+
EVENT_TRIGGERS.MEETING_BREAKOUTS_PRE_ASSIGNMENTS_UPDATE
|
|
4974
|
+
);
|
|
4975
|
+
});
|
|
4975
4976
|
});
|
|
4976
4977
|
|
|
4977
4978
|
describe('#setupLocusControlsListener', () => {
|
|
@@ -5881,7 +5882,7 @@ describe('plugin-meetings', () => {
|
|
|
5881
5882
|
it('connects if not already connected', async () => {
|
|
5882
5883
|
meeting.joinedWith = {state: 'JOINED'};
|
|
5883
5884
|
meeting.locusInfo = {url: 'a url', info: {datachannelUrl: 'a datachannel url'}};
|
|
5884
|
-
|
|
5885
|
+
|
|
5885
5886
|
|
|
5886
5887
|
const result = await meeting.updateLLMConnection();
|
|
5887
5888
|
|