@webex/plugin-meetings 3.3.1-next.19 → 3.3.1-next.20

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.19"
212
+ version: "3.3.1-next.20"
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.19"
1049
+ version: "3.3.1-next.20"
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.19"
376
+ version: "3.3.1-next.20"
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.19"
21
+ version: "3.3.1-next.20"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -19,6 +19,7 @@ exports.default = exports.ScreenShareFloorStatus = exports.MEDIA_UPDATE_TYPE = v
19
19
  var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));
20
20
  var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
21
21
  var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
22
+ var _map = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/map"));
22
23
  var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
23
24
  var _values = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/values"));
24
25
  var _typeof2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/typeof"));
@@ -532,6 +533,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
532
533
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "hasMediaConnectionConnectedAtLeastOnce", void 0);
533
534
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "joinWithMediaRetryInfo", void 0);
534
535
  (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "connectionStateHandler", void 0);
536
+ (0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "iceCandidateErrors", void 0);
535
537
  /**
536
538
  * Callback called when a relay event is received from meeting LLM Connection
537
539
  * @param {RelayEvent} e Event object coming from LLM Connection
@@ -950,6 +952,22 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
950
952
  mediaContent: mediaContent
951
953
  });
952
954
  });
955
+ _this.iceCandidateErrors.clear();
956
+ _this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.ICE_CANDIDATE_ERROR, function (event) {
957
+ var errorCode = event.error.errorCode;
958
+ var errorText = event.error.errorText;
959
+ if (errorCode === 600 && errorText === 'Address not associated with the desired network interface.') {
960
+ return;
961
+ }
962
+ if (errorText.endsWith('.')) {
963
+ errorText = errorText.slice(0, -1);
964
+ }
965
+ errorText = errorText.toLowerCase();
966
+ errorText = errorText.replace(/ /g, '_');
967
+ var error = "".concat(errorCode, "_").concat(errorText);
968
+ var count = _this.iceCandidateErrors.get(error) || 0;
969
+ _this.iceCandidateErrors.set(error, count + 1);
970
+ });
953
971
  });
954
972
  /**
955
973
  * Registers for all required StatsAnalyzer events
@@ -2085,6 +2103,15 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
2085
2103
  * @memberof Meeting
2086
2104
  */
2087
2105
  _this.connectionStateHandler = undefined;
2106
+
2107
+ /**
2108
+ * ICE Candidates errors map
2109
+ * @instance
2110
+ * @type {Map<[number, string], number>}
2111
+ * @private
2112
+ * @memberof Meeting
2113
+ */
2114
+ _this.iceCandidateErrors = new _map.default();
2088
2115
  return _this;
2089
2116
  }
2090
2117
 
@@ -6676,6 +6703,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6676
6703
  _yield$this$mediaProp2,
6677
6704
  _selectedCandidatePairChanges,
6678
6705
  _numTransports,
6706
+ iceCandidateErrors,
6679
6707
  _args32 = arguments;
6680
6708
  return _regenerator.default.wrap(function _callee32$(_context32) {
6681
6709
  while (1) switch (_context32.prev = _context32.next) {
@@ -6824,7 +6852,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6824
6852
 
6825
6853
  // We can log ReceiveSlot SSRCs only after the SDP exchange, so doing it here:
6826
6854
  (_this$remoteMediaMana = this.remoteMediaManager) === null || _this$remoteMediaMana === void 0 ? void 0 : _this$remoteMediaMana.logAllReceiveSlots();
6827
- _context32.next = 67;
6855
+ _context32.next = 68;
6828
6856
  break;
6829
6857
  case 50:
6830
6858
  _context32.prev = 50;
@@ -6842,7 +6870,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6842
6870
  _yield$this$mediaProp2 = _context32.sent;
6843
6871
  _selectedCandidatePairChanges = _yield$this$mediaProp2.selectedCandidatePairChanges;
6844
6872
  _numTransports = _yield$this$mediaProp2.numTransports;
6845
- _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_FAILURE, _objectSpread({
6873
+ iceCandidateErrors = Object.fromEntries(this.iceCandidateErrors);
6874
+ _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_FAILURE, _objectSpread(_objectSpread({
6846
6875
  correlation_id: this.correlationId,
6847
6876
  locus_id: this.locusUrl.split('/').pop(),
6848
6877
  reason: _context32.t0.message,
@@ -6858,10 +6887,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6858
6887
  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',
6859
6888
  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',
6860
6889
  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'
6861
- }, reachabilityMetrics));
6862
- _context32.next = 64;
6890
+ }, reachabilityMetrics), iceCandidateErrors));
6891
+ _context32.next = 65;
6863
6892
  return this.cleanUpOnAddMediaFailure();
6864
- case 64:
6893
+ case 65:
6865
6894
  // Upload logs on error while adding media
6866
6895
  _triggerProxy.default.trigger(this, {
6867
6896
  file: 'meeting/index',
@@ -6873,7 +6902,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6873
6902
  });
6874
6903
  }
6875
6904
  throw _context32.t0;
6876
- case 67:
6905
+ case 68:
6877
6906
  case "end":
6878
6907
  return _context32.stop();
6879
6908
  }