@webex/plugin-meetings 3.7.0-next.47 → 3.7.0-next.49

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.
@@ -458,7 +458,7 @@ var Webinar = _webexCore.WebexPlugin.extend({
458
458
  }, _callee7);
459
459
  }))();
460
460
  },
461
- version: "3.7.0-next.47"
461
+ version: "3.7.0-next.49"
462
462
  });
463
463
  var _default = exports.default = Webinar;
464
464
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -43,13 +43,13 @@
43
43
  "@webex/eslint-config-legacy": "0.0.0",
44
44
  "@webex/jest-config-legacy": "0.0.0",
45
45
  "@webex/legacy-tools": "0.0.0",
46
- "@webex/plugin-meetings": "3.7.0-next.47",
47
- "@webex/plugin-rooms": "3.7.0-next.18",
48
- "@webex/test-helper-chai": "3.7.0-next.13",
49
- "@webex/test-helper-mocha": "3.7.0-next.13",
50
- "@webex/test-helper-mock-webex": "3.7.0-next.13",
51
- "@webex/test-helper-retry": "3.7.0-next.13",
52
- "@webex/test-helper-test-users": "3.7.0-next.13",
46
+ "@webex/plugin-meetings": "3.7.0-next.49",
47
+ "@webex/plugin-rooms": "3.7.0-next.19",
48
+ "@webex/test-helper-chai": "3.7.0-next.14",
49
+ "@webex/test-helper-mocha": "3.7.0-next.14",
50
+ "@webex/test-helper-mock-webex": "3.7.0-next.14",
51
+ "@webex/test-helper-retry": "3.7.0-next.14",
52
+ "@webex/test-helper-test-users": "3.7.0-next.14",
53
53
  "chai": "^4.3.4",
54
54
  "chai-as-promised": "^7.1.1",
55
55
  "eslint": "^8.24.0",
@@ -61,22 +61,22 @@
61
61
  "typescript": "^4.7.4"
62
62
  },
63
63
  "dependencies": {
64
- "@webex/common": "3.7.0-next.13",
64
+ "@webex/common": "3.7.0-next.14",
65
65
  "@webex/event-dictionary-ts": "^1.0.1643",
66
66
  "@webex/internal-media-core": "2.14.1",
67
- "@webex/internal-plugin-conversation": "3.7.0-next.18",
68
- "@webex/internal-plugin-device": "3.7.0-next.13",
69
- "@webex/internal-plugin-llm": "3.7.0-next.16",
70
- "@webex/internal-plugin-mercury": "3.7.0-next.16",
71
- "@webex/internal-plugin-metrics": "3.7.0-next.13",
72
- "@webex/internal-plugin-support": "3.7.0-next.19",
73
- "@webex/internal-plugin-user": "3.7.0-next.13",
74
- "@webex/internal-plugin-voicea": "3.7.0-next.47",
75
- "@webex/media-helpers": "3.7.0-next.17",
76
- "@webex/plugin-people": "3.7.0-next.16",
77
- "@webex/plugin-rooms": "3.7.0-next.18",
67
+ "@webex/internal-plugin-conversation": "3.7.0-next.19",
68
+ "@webex/internal-plugin-device": "3.7.0-next.14",
69
+ "@webex/internal-plugin-llm": "3.7.0-next.17",
70
+ "@webex/internal-plugin-mercury": "3.7.0-next.17",
71
+ "@webex/internal-plugin-metrics": "3.7.0-next.14",
72
+ "@webex/internal-plugin-support": "3.7.0-next.20",
73
+ "@webex/internal-plugin-user": "3.7.0-next.14",
74
+ "@webex/internal-plugin-voicea": "3.7.0-next.49",
75
+ "@webex/media-helpers": "3.7.0-next.18",
76
+ "@webex/plugin-people": "3.7.0-next.17",
77
+ "@webex/plugin-rooms": "3.7.0-next.19",
78
78
  "@webex/web-capabilities": "^1.4.0",
79
- "@webex/webex-core": "3.7.0-next.13",
79
+ "@webex/webex-core": "3.7.0-next.14",
80
80
  "ampersand-collection": "^2.0.2",
81
81
  "bowser": "^2.11.0",
82
82
  "btoa": "^1.2.1",
@@ -92,5 +92,5 @@
92
92
  "//": [
93
93
  "TODO: upgrade jwt-decode when moving to node 18"
94
94
  ],
95
- "version": "3.7.0-next.47"
95
+ "version": "3.7.0-next.49"
96
96
  }
@@ -4647,6 +4647,7 @@ export default class Meeting extends StatelessWebexPlugin {
4647
4647
 
4648
4648
  this.receiveSlotManager.reset();
4649
4649
  this.mediaProperties.webrtcMediaConnection.close();
4650
+ this.mediaProperties.unsetPeerConnection();
4650
4651
  this.sendSlotManager.reset();
4651
4652
  this.setNetworkStatus(undefined);
4652
4653
  }
@@ -9996,7 +9996,8 @@ describe('plugin-meetings', () => {
9996
9996
  describe('#closePeerConnections', () => {
9997
9997
  it('should close the webrtc media connection, and return a promise', async () => {
9998
9998
  const setNetworkStatusSpy = sinon.spy(meeting, 'setNetworkStatus');
9999
- meeting.mediaProperties.webrtcMediaConnection = {close: sinon.stub()};
9999
+ const fakeWebrtcMediaConnection = {close: sinon.stub()};
10000
+ meeting.mediaProperties.webrtcMediaConnection = fakeWebrtcMediaConnection;
10000
10001
 
10001
10002
  meeting.audio = {id: 'fakeAudioMuteState'};
10002
10003
  meeting.video = {id: 'fakeVideoMuteState'};
@@ -10005,15 +10006,17 @@ describe('plugin-meetings', () => {
10005
10006
 
10006
10007
  assert.exists(pcs.then);
10007
10008
  await pcs;
10008
- assert.calledOnce(meeting.mediaProperties.webrtcMediaConnection.close);
10009
+ assert.calledOnce(fakeWebrtcMediaConnection.close);
10009
10010
  assert.calledOnceWithExactly(setNetworkStatusSpy, undefined);
10010
10011
  assert.equal(meeting.audio, null);
10011
10012
  assert.equal(meeting.video, null);
10013
+ assert.equal(meeting.mediaProperties.webrtcMediaConnection, null);
10012
10014
  });
10013
10015
 
10014
10016
  it('should close the webrtc media connection, but keep audio and video props unchanged if called with resetMuteStates=false', async () => {
10015
10017
  const setNetworkStatusSpy = sinon.spy(meeting, 'setNetworkStatus');
10016
- meeting.mediaProperties.webrtcMediaConnection = {close: sinon.stub()};
10018
+ const fakeWebrtcMediaConnection = {close: sinon.stub()};
10019
+ meeting.mediaProperties.webrtcMediaConnection = fakeWebrtcMediaConnection;
10017
10020
 
10018
10021
  const fakeAudio = {id: 'fakeAudioMuteState'};
10019
10022
  const fakeVideo = {id: 'fakeVideoMuteState'};
@@ -10023,10 +10026,11 @@ describe('plugin-meetings', () => {
10023
10026
 
10024
10027
  await meeting.closePeerConnections(false);
10025
10028
 
10026
- assert.calledOnce(meeting.mediaProperties.webrtcMediaConnection.close);
10029
+ assert.calledOnce(fakeWebrtcMediaConnection.close);
10027
10030
  assert.calledOnceWithExactly(setNetworkStatusSpy, undefined);
10028
10031
  assert.equal(meeting.audio, fakeAudio);
10029
10032
  assert.equal(meeting.video, fakeVideo);
10033
+ assert.equal(meeting.mediaProperties.webrtcMediaConnection, null);
10030
10034
  });
10031
10035
  });
10032
10036