@webex/plugin-meetings 3.3.1-next.38 → 3.3.1-next.39

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.
@@ -209,7 +209,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
209
209
  sessionId: this.sessionId
210
210
  });
211
211
  },
212
- version: "3.3.1-next.38"
212
+ version: "3.3.1-next.39"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -1046,7 +1046,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1046
1046
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1047
1047
  }
1048
1048
  },
1049
- version: "3.3.1-next.38"
1049
+ version: "3.3.1-next.39"
1050
1050
  });
1051
1051
  var _default = exports.default = Breakouts;
1052
1052
  //# sourceMappingURL=index.js.map
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
373
373
  throw error;
374
374
  });
375
375
  },
376
- version: "3.3.1-next.38"
376
+ version: "3.3.1-next.39"
377
377
  });
378
378
  var _default = exports.default = SimultaneousInterpretation;
379
379
  //# sourceMappingURL=index.js.map
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
18
18
  languageCode: 'number',
19
19
  languageName: 'string'
20
20
  },
21
- version: "3.3.1-next.38"
21
+ version: "3.3.1-next.39"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -541,6 +541,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
541
541
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "joinWithMediaRetryInfo", void 0);
542
542
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "connectionStateHandler", void 0);
543
543
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "iceCandidateErrors", void 0);
544
+ (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "iceCandidatesCount", void 0);
544
545
  /**
545
546
  * Callback called when a relay event is received from meeting LLM Connection
546
547
  * @param {RelayEvent} e Event object coming from LLM Connection
@@ -991,6 +992,12 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
991
992
  var count = _this.iceCandidateErrors.get(error) || 0;
992
993
  _this.iceCandidateErrors.set(error, count + 1);
993
994
  });
995
+ _this.iceCandidatesCount = 0;
996
+ _this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.ICE_CANDIDATE, function (event) {
997
+ if (event.candidate) {
998
+ _this.iceCandidatesCount += 1;
999
+ }
1000
+ });
994
1001
  });
995
1002
  /**
996
1003
  * Registers for all required StatsAnalyzer events
@@ -2141,6 +2148,15 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
2141
2148
  * @memberof Meeting
2142
2149
  */
2143
2150
  _this.iceCandidateErrors = new _map.default();
2151
+
2152
+ /**
2153
+ * Gathered ICE Candidates count
2154
+ * @instance
2155
+ * @type {number}
2156
+ * @private
2157
+ * @memberof Meeting
2158
+ */
2159
+ _this.iceCandidatesCount = 0;
2144
2160
  return _this;
2145
2161
  }
2146
2162
 
@@ -6955,7 +6971,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6955
6971
  return this.webex.meetings.reachability.getReachabilityMetrics();
6956
6972
  case 42:
6957
6973
  reachabilityStats = _context32.sent;
6958
- _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_SUCCESS, _objectSpread({
6974
+ _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_SUCCESS, _objectSpread(_objectSpread({
6959
6975
  correlation_id: this.correlationId,
6960
6976
  locus_id: this.locusUrl.split('/').pop(),
6961
6977
  connectionType: connectionType,
@@ -6964,7 +6980,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6964
6980
  isMultistream: this.isMultistream,
6965
6981
  retriedWithTurnServer: this.addMediaData.retriedWithTurnServer,
6966
6982
  isJoinWithMediaRetry: this.joinWithMediaRetryInfo.isRetry
6967
- }, reachabilityStats));
6983
+ }, reachabilityStats), {}, {
6984
+ iceCandidatesCount: this.iceCandidatesCount
6985
+ }));
6968
6986
  // @ts-ignore
6969
6987
  this.webex.internal.newMetrics.submitClientEvent({
6970
6988
  name: 'client.media-engine.ready',
@@ -6995,7 +7013,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6995
7013
  _selectedCandidatePairChanges = _yield$this$mediaProp2.selectedCandidatePairChanges;
6996
7014
  _numTransports = _yield$this$mediaProp2.numTransports;
6997
7015
  iceCandidateErrors = Object.fromEntries(this.iceCandidateErrors);
6998
- _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_FAILURE, _objectSpread(_objectSpread({
7016
+ _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_FAILURE, _objectSpread(_objectSpread(_objectSpread({
6999
7017
  correlation_id: this.correlationId,
7000
7018
  locus_id: this.locusUrl.split('/').pop(),
7001
7019
  reason: _context32.t0.message,
@@ -7011,7 +7029,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7011
7029
  signalingState: ((_this$mediaProperties13 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties13 === void 0 ? void 0 : (_this$mediaProperties14 = _this$mediaProperties13.multistreamConnection) === null || _this$mediaProperties14 === void 0 ? void 0 : (_this$mediaProperties15 = _this$mediaProperties14.pc) === null || _this$mediaProperties15 === void 0 ? void 0 : (_this$mediaProperties16 = _this$mediaProperties15.pc) === null || _this$mediaProperties16 === void 0 ? void 0 : _this$mediaProperties16.signalingState) || ((_this$mediaProperties17 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties17 === void 0 ? void 0 : (_this$mediaProperties18 = _this$mediaProperties17.mediaConnection) === null || _this$mediaProperties18 === void 0 ? void 0 : (_this$mediaProperties19 = _this$mediaProperties18.pc) === null || _this$mediaProperties19 === void 0 ? void 0 : _this$mediaProperties19.signalingState) || 'unknown',
7012
7030
  connectionState: ((_this$mediaProperties20 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties20 === void 0 ? void 0 : (_this$mediaProperties21 = _this$mediaProperties20.multistreamConnection) === null || _this$mediaProperties21 === void 0 ? void 0 : (_this$mediaProperties22 = _this$mediaProperties21.pc) === null || _this$mediaProperties22 === void 0 ? void 0 : (_this$mediaProperties23 = _this$mediaProperties22.pc) === null || _this$mediaProperties23 === void 0 ? void 0 : _this$mediaProperties23.connectionState) || ((_this$mediaProperties24 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties24 === void 0 ? void 0 : (_this$mediaProperties25 = _this$mediaProperties24.mediaConnection) === null || _this$mediaProperties25 === void 0 ? void 0 : (_this$mediaProperties26 = _this$mediaProperties25.pc) === null || _this$mediaProperties26 === void 0 ? void 0 : _this$mediaProperties26.connectionState) || 'unknown',
7013
7031
  iceConnectionState: ((_this$mediaProperties27 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties27 === void 0 ? void 0 : (_this$mediaProperties28 = _this$mediaProperties27.multistreamConnection) === null || _this$mediaProperties28 === void 0 ? void 0 : (_this$mediaProperties29 = _this$mediaProperties28.pc) === null || _this$mediaProperties29 === void 0 ? void 0 : (_this$mediaProperties30 = _this$mediaProperties29.pc) === null || _this$mediaProperties30 === void 0 ? void 0 : _this$mediaProperties30.iceConnectionState) || ((_this$mediaProperties31 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties31 === void 0 ? void 0 : (_this$mediaProperties32 = _this$mediaProperties31.mediaConnection) === null || _this$mediaProperties32 === void 0 ? void 0 : (_this$mediaProperties33 = _this$mediaProperties32.pc) === null || _this$mediaProperties33 === void 0 ? void 0 : _this$mediaProperties33.iceConnectionState) || 'unknown'
7014
- }, reachabilityMetrics), iceCandidateErrors));
7032
+ }, reachabilityMetrics), iceCandidateErrors), {}, {
7033
+ iceCandidatesCount: this.iceCandidatesCount
7034
+ }));
7015
7035
  _context32.next = 64;
7016
7036
  return this.cleanUpOnAddMediaFailure();
7017
7037
  case 64: