@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.
@@ -869,7 +869,7 @@ var Webinar = _webexCore.WebexPlugin.extend({
869
869
  }, _callee1);
870
870
  }))();
871
871
  },
872
- version: "3.12.0-next.112"
872
+ version: "3.12.0-next.113"
873
873
  });
874
874
  var _default = exports.default = Webinar;
875
875
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -94,5 +94,5 @@
94
94
  "//": [
95
95
  "TODO: upgrade jwt-decode when moving to node 18"
96
96
  ],
97
- "version": "3.12.0-next.112"
97
+ "version": "3.12.0-next.113"
98
98
  }
@@ -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(