@webex/plugin-meetings 3.12.0-next.112 → 3.12.0-next.113
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/aiEnableRequest/index.js +1 -1
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.js +1 -0
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +1 -1
- package/src/meeting/index.ts +1 -0
- package/test/unit/spec/meeting/index.js +6 -0
package/dist/webinar/index.js
CHANGED
package/package.json
CHANGED
package/src/meeting/index.ts
CHANGED
|
@@ -8301,6 +8301,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
8301
8301
|
this.mediaProperties.mediaDirection.receiveShare,
|
|
8302
8302
|
];
|
|
8303
8303
|
|
|
8304
|
+
this.sendSlotManager.reset();
|
|
8304
8305
|
this.sendSlotManager.createSlot(mc, MediaType.VideoMain, videoEnabled);
|
|
8305
8306
|
this.sendSlotManager.createSlot(mc, MediaType.AudioMain, audioEnabled);
|
|
8306
8307
|
this.sendSlotManager.createSlot(mc, MediaType.VideoSlides, shareEnabled);
|
|
@@ -4264,6 +4264,7 @@ describe('plugin-meetings', () => {
|
|
|
4264
4264
|
unpublishStream: sinon.stub(),
|
|
4265
4265
|
setNamedMediaGroups: sinon.stub(),
|
|
4266
4266
|
});
|
|
4267
|
+
sinon.spy(meeting.sendSlotManager, 'reset');
|
|
4267
4268
|
|
|
4268
4269
|
await meeting.addMedia({
|
|
4269
4270
|
allowMediaInLobby: true,
|
|
@@ -4276,6 +4277,7 @@ describe('plugin-meetings', () => {
|
|
|
4276
4277
|
},
|
|
4277
4278
|
});
|
|
4278
4279
|
|
|
4280
|
+
assert.calledOnce(meeting.sendSlotManager.reset);
|
|
4279
4281
|
assert.notCalled(publishStreamStub);
|
|
4280
4282
|
});
|
|
4281
4283
|
|
|
@@ -4299,6 +4301,7 @@ describe('plugin-meetings', () => {
|
|
|
4299
4301
|
}
|
|
4300
4302
|
return videoSlot;
|
|
4301
4303
|
});
|
|
4304
|
+
sinon.spy(meeting.sendSlotManager, 'reset');
|
|
4302
4305
|
|
|
4303
4306
|
await meeting.addMedia({
|
|
4304
4307
|
allowMediaInLobby: true,
|
|
@@ -4311,6 +4314,7 @@ describe('plugin-meetings', () => {
|
|
|
4311
4314
|
},
|
|
4312
4315
|
});
|
|
4313
4316
|
|
|
4317
|
+
assert.calledOnce(meeting.sendSlotManager.reset);
|
|
4314
4318
|
assert.calledOnceWithExactly(audioSlot.publishStream, fakeMicrophoneStream);
|
|
4315
4319
|
assert.calledOnceWithExactly(videoSlot.publishStream, fakeCameraStream);
|
|
4316
4320
|
});
|
|
@@ -4333,11 +4337,13 @@ describe('plugin-meetings', () => {
|
|
|
4333
4337
|
|
|
4334
4338
|
meeting.meetingState = 'ACTIVE';
|
|
4335
4339
|
meeting.isMultistream = true;
|
|
4340
|
+
sinon.spy(meeting.sendSlotManager, 'reset');
|
|
4336
4341
|
|
|
4337
4342
|
await meeting.addMedia({
|
|
4338
4343
|
mediaSettings: {},
|
|
4339
4344
|
});
|
|
4340
4345
|
|
|
4346
|
+
assert.calledOnce(meeting.sendSlotManager.reset);
|
|
4341
4347
|
// check that rtcMetrics was passed to Media.createMediaConnection
|
|
4342
4348
|
assert.calledOnce(Media.createMediaConnection);
|
|
4343
4349
|
assert.calledWith(
|