@webex/plugin-meetings 3.9.0-next.7 → 3.9.0-next.9

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.9.0-next.7"
212
+ version: "3.9.0-next.9"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -1110,7 +1110,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1110
1110
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1111
1111
  }
1112
1112
  },
1113
- version: "3.9.0-next.7"
1113
+ version: "3.9.0-next.9"
1114
1114
  });
1115
1115
  var _default = exports.default = Breakouts;
1116
1116
  //# sourceMappingURL=index.js.map
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
373
373
  throw error;
374
374
  });
375
375
  },
376
- version: "3.9.0-next.7"
376
+ version: "3.9.0-next.9"
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.9.0-next.7"
21
+ version: "3.9.0-next.9"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -7694,6 +7694,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7694
7694
  receiveVideo,
7695
7695
  sendAudio,
7696
7696
  receiveAudio,
7697
+ ipver,
7697
7698
  _this$remoteMediaMana,
7698
7699
  _yield$this$mediaProp,
7699
7700
  connectionType,
@@ -7758,14 +7759,16 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7758
7759
  receiveAudio = audioEnabled && (rawReceiveAudio !== null && rawReceiveAudio !== void 0 ? rawReceiveAudio : true);
7759
7760
  this.allowMediaInLobby = options === null || options === void 0 ? void 0 : options.allowMediaInLobby;
7760
7761
 
7762
+ // @ts-ignore
7763
+ ipver = _util2.default.getIpVersion(this.webex); // used just for metrics
7761
7764
  // If the user is unjoined or guest waiting in lobby dont allow the user to addMedia
7762
7765
  // @ts-ignore - isUserUnadmitted coming from SelfUtil
7763
7766
  if (!(this.isUserUnadmitted && !this.wirelessShare && !this.allowMediaInLobby)) {
7764
- _context35.next = 19;
7767
+ _context35.next = 20;
7765
7768
  break;
7766
7769
  }
7767
7770
  throw new _webexErrors.UserInLobbyError();
7768
- case 19:
7771
+ case 20:
7769
7772
  // @ts-ignore
7770
7773
  this.webex.internal.newMetrics.submitClientEvent({
7771
7774
  name: 'client.media.capabilities',
@@ -7805,63 +7808,64 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7805
7808
  this.audio = (0, _muteState.createMuteState)(_constants.AUDIO, this, audioEnabled);
7806
7809
  this.video = (0, _muteState.createMuteState)(_constants.VIDEO, this, videoEnabled);
7807
7810
  this.brbState = (0, _brbState.createBrbState)(this, false);
7808
- _context35.prev = 24;
7809
- _context35.next = 27;
7811
+ _context35.prev = 25;
7812
+ _context35.next = 28;
7810
7813
  return this.setUpLocalStreamReferences(localStreams);
7811
- case 27:
7814
+ case 28:
7812
7815
  this.setMercuryListener();
7813
7816
  this.createStatsAnalyzer();
7814
- _context35.prev = 29;
7815
- _context35.next = 32;
7817
+ _context35.prev = 30;
7818
+ _context35.next = 33;
7816
7819
  return this.establishMediaConnection(remoteMediaManagerConfig, bundlePolicy, forceTurnDiscovery, turnServerInfo);
7817
- case 32:
7818
- _context35.next = 45;
7820
+ case 33:
7821
+ _context35.next = 46;
7819
7822
  break;
7820
- case 34:
7821
- _context35.prev = 34;
7822
- _context35.t0 = _context35["catch"](29);
7823
+ case 35:
7824
+ _context35.prev = 35;
7825
+ _context35.t0 = _context35["catch"](30);
7823
7826
  if (!(_context35.t0 instanceof _multistreamNotSupportedError.default)) {
7824
- _context35.next = 44;
7827
+ _context35.next = 45;
7825
7828
  break;
7826
7829
  }
7827
7830
  _loggerProxy.default.logger.warn("".concat(LOG_HEADER, " we asked for multistream backend (Homer), but got transcoded backend, recreating media connection..."));
7828
- _context35.next = 40;
7831
+ _context35.next = 41;
7829
7832
  return this.downgradeFromMultistreamToTranscoded();
7830
- case 40:
7831
- _context35.next = 42;
7833
+ case 41:
7834
+ _context35.next = 43;
7832
7835
  return this.establishMediaConnection(remoteMediaManagerConfig, bundlePolicy, true, undefined);
7833
- case 42:
7834
- _context35.next = 45;
7836
+ case 43:
7837
+ _context35.next = 46;
7835
7838
  break;
7836
- case 44:
7837
- throw _context35.t0;
7838
7839
  case 45:
7840
+ throw _context35.t0;
7841
+ case 46:
7839
7842
  _loggerProxy.default.logger.info("".concat(LOG_HEADER, " media connected, finalizing..."));
7840
7843
  if (!this.mediaProperties.hasLocalShareStream()) {
7841
- _context35.next = 49;
7844
+ _context35.next = 50;
7842
7845
  break;
7843
7846
  }
7844
- _context35.next = 49;
7847
+ _context35.next = 50;
7845
7848
  return this.enqueueScreenShareFloorRequest();
7846
- case 49:
7847
- _context35.next = 51;
7849
+ case 50:
7850
+ _context35.next = 52;
7848
7851
  return this.mediaProperties.getCurrentConnectionInfo();
7849
- case 51:
7852
+ case 52:
7850
7853
  _yield$this$mediaProp = _context35.sent;
7851
7854
  connectionType = _yield$this$mediaProp.connectionType;
7852
7855
  ipVersion = _yield$this$mediaProp.ipVersion;
7853
7856
  selectedCandidatePairChanges = _yield$this$mediaProp.selectedCandidatePairChanges;
7854
7857
  numTransports = _yield$this$mediaProp.numTransports;
7855
7858
  iceCandidateErrors = Object.fromEntries(this.iceCandidateErrors);
7856
- _context35.next = 59;
7859
+ _context35.next = 60;
7857
7860
  return this.getMediaReachabilityMetricFields();
7858
- case 59:
7861
+ case 60:
7859
7862
  reachabilityMetrics = _context35.sent;
7860
7863
  _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_SUCCESS, _objectSpread(_objectSpread(_objectSpread({
7861
7864
  correlation_id: this.correlationId,
7862
7865
  locus_id: this.locusUrl.split('/').pop(),
7863
7866
  connectionType: connectionType,
7864
7867
  ipVersion: ipVersion,
7868
+ ipver: ipver,
7865
7869
  selectedCandidatePairChanges: selectedCandidatePairChanges,
7866
7870
  numTransports: numTransports,
7867
7871
  isMultistream: this.isMultistream,
@@ -7885,21 +7889,21 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7885
7889
  // We can log ReceiveSlot SSRCs only after the SDP exchange, so doing it here:
7886
7890
  (_this$remoteMediaMana = this.remoteMediaManager) === null || _this$remoteMediaMana === void 0 ? void 0 : _this$remoteMediaMana.logAllReceiveSlots();
7887
7891
  this.startPeriodicLogUpload();
7888
- _context35.next = 85;
7892
+ _context35.next = 86;
7889
7893
  break;
7890
- case 67:
7891
- _context35.prev = 67;
7892
- _context35.t1 = _context35["catch"](24);
7894
+ case 68:
7895
+ _context35.prev = 68;
7896
+ _context35.t1 = _context35["catch"](25);
7893
7897
  _loggerProxy.default.logger.error("".concat(LOG_HEADER, " failed to establish media connection: "), _context35.t1);
7894
7898
 
7895
7899
  // @ts-ignore
7896
- _context35.next = 72;
7900
+ _context35.next = 73;
7897
7901
  return this.getMediaReachabilityMetricFields();
7898
- case 72:
7902
+ case 73:
7899
7903
  _reachabilityMetrics = _context35.sent;
7900
- _context35.next = 75;
7904
+ _context35.next = 76;
7901
7905
  return this.mediaProperties.getCurrentConnectionInfo();
7902
- case 75:
7906
+ case 76:
7903
7907
  _yield$this$mediaProp2 = _context35.sent;
7904
7908
  _selectedCandidatePairChanges = _yield$this$mediaProp2.selectedCandidatePairChanges;
7905
7909
  _numTransports = _yield$this$mediaProp2.numTransports;
@@ -7921,11 +7925,12 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7921
7925
  connectionState: ((_this$mediaProperties22 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties22 === void 0 ? void 0 : (_this$mediaProperties23 = _this$mediaProperties22.multistreamConnection) === null || _this$mediaProperties23 === void 0 ? void 0 : (_this$mediaProperties24 = _this$mediaProperties23.pc) === null || _this$mediaProperties24 === void 0 ? void 0 : (_this$mediaProperties25 = _this$mediaProperties24.pc) === null || _this$mediaProperties25 === void 0 ? void 0 : _this$mediaProperties25.connectionState) || ((_this$mediaProperties26 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties26 === void 0 ? void 0 : (_this$mediaProperties27 = _this$mediaProperties26.mediaConnection) === null || _this$mediaProperties27 === void 0 ? void 0 : (_this$mediaProperties28 = _this$mediaProperties27.pc) === null || _this$mediaProperties28 === void 0 ? void 0 : _this$mediaProperties28.connectionState) || 'unknown',
7922
7926
  iceConnectionState: ((_this$mediaProperties29 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties29 === void 0 ? void 0 : (_this$mediaProperties30 = _this$mediaProperties29.multistreamConnection) === null || _this$mediaProperties30 === void 0 ? void 0 : (_this$mediaProperties31 = _this$mediaProperties30.pc) === null || _this$mediaProperties31 === void 0 ? void 0 : (_this$mediaProperties32 = _this$mediaProperties31.pc) === null || _this$mediaProperties32 === void 0 ? void 0 : _this$mediaProperties32.iceConnectionState) || ((_this$mediaProperties33 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties33 === void 0 ? void 0 : (_this$mediaProperties34 = _this$mediaProperties33.mediaConnection) === null || _this$mediaProperties34 === void 0 ? void 0 : (_this$mediaProperties35 = _this$mediaProperties34.pc) === null || _this$mediaProperties35 === void 0 ? void 0 : _this$mediaProperties35.iceConnectionState) || 'unknown'
7923
7927
  }, _reachabilityMetrics), _iceCandidateErrors), {}, {
7924
- iceCandidatesCount: this.iceCandidatesCount
7928
+ iceCandidatesCount: this.iceCandidatesCount,
7929
+ ipver: ipver
7925
7930
  }));
7926
- _context35.next = 82;
7931
+ _context35.next = 83;
7927
7932
  return this.cleanUpOnAddMediaFailure();
7928
- case 82:
7933
+ case 83:
7929
7934
  // Upload logs on error while adding media
7930
7935
  _triggerProxy.default.trigger(this, {
7931
7936
  file: 'meeting/index',
@@ -7937,15 +7942,15 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7937
7942
  });
7938
7943
  }
7939
7944
  throw _context35.t1;
7940
- case 85:
7941
- _context35.prev = 85;
7945
+ case 86:
7946
+ _context35.prev = 86;
7942
7947
  this.addMediaData.icePhaseCallback = DEFAULT_ICE_PHASE_CALLBACK;
7943
- return _context35.finish(85);
7944
- case 88:
7948
+ return _context35.finish(86);
7949
+ case 89:
7945
7950
  case "end":
7946
7951
  return _context35.stop();
7947
7952
  }
7948
- }, _callee35, this, [[24, 67, 85, 88], [29, 34]]);
7953
+ }, _callee35, this, [[25, 68, 86, 89], [30, 35]]);
7949
7954
  }));
7950
7955
  function addMediaInternal(_x33, _x34, _x35) {
7951
7956
  return _addMediaInternal.apply(this, arguments);