@webex/plugin-meetings 3.0.0-next.18 → 3.0.0-next.19

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.0.0-next.18"
212
+ version: "3.0.0-next.19"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -1041,7 +1041,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1041
1041
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1042
1042
  }
1043
1043
  },
1044
- version: "3.0.0-next.18"
1044
+ version: "3.0.0-next.19"
1045
1045
  });
1046
1046
  var _default = exports.default = Breakouts;
1047
1047
  //# sourceMappingURL=index.js.map
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
373
373
  throw error;
374
374
  });
375
375
  },
376
- version: "3.0.0-next.18"
376
+ version: "3.0.0-next.19"
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.0.0-next.18"
21
+ version: "3.0.0-next.19"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -721,7 +721,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
721
721
  }), {
722
722
  logText: "".concat(LOG_HEADER, " Roap Offer")
723
723
  }).catch(function () {
724
- _this.deferSDPAnswer.reject();
724
+ _this.deferSDPAnswer.reject(new Error('failed to send ROAP SDP offer'));
725
725
  clearTimeout(_this.sdpResponseTimer);
726
726
  _this.sdpResponseTimer = undefined;
727
727
  });
@@ -6669,23 +6669,32 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6669
6669
  _context31.next = 26;
6670
6670
  return this.establishMediaConnection(remoteMediaManagerConfig, bundlePolicy, false, turnServerInfo);
6671
6671
  case 26:
6672
- _context31.next = 28;
6672
+ if (!(audioEnabled || videoEnabled)) {
6673
+ _context31.next = 31;
6674
+ break;
6675
+ }
6676
+ _context31.next = 29;
6673
6677
  return Meeting.handleDeviceLogging();
6674
- case 28:
6678
+ case 29:
6679
+ _context31.next = 32;
6680
+ break;
6681
+ case 31:
6682
+ _loggerProxy.default.logger.info("".concat(LOG_HEADER, " device logging not required"));
6683
+ case 32:
6675
6684
  if (!this.mediaProperties.hasLocalShareStream()) {
6676
- _context31.next = 31;
6685
+ _context31.next = 35;
6677
6686
  break;
6678
6687
  }
6679
- _context31.next = 31;
6688
+ _context31.next = 35;
6680
6689
  return this.enqueueScreenShareFloorRequest();
6681
- case 31:
6682
- _context31.next = 33;
6690
+ case 35:
6691
+ _context31.next = 37;
6683
6692
  return this.mediaProperties.getCurrentConnectionType();
6684
- case 33:
6693
+ case 37:
6685
6694
  connectionType = _context31.sent;
6686
- _context31.next = 36;
6695
+ _context31.next = 40;
6687
6696
  return this.webex.meetings.reachability.getReachabilityMetrics();
6688
- case 36:
6697
+ case 40:
6689
6698
  reachabilityStats = _context31.sent;
6690
6699
  _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_SUCCESS, _objectSpread({
6691
6700
  correlation_id: this.correlationId,
@@ -6705,17 +6714,17 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6705
6714
 
6706
6715
  // We can log ReceiveSlot SSRCs only after the SDP exchange, so doing it here:
6707
6716
  (_this$remoteMediaMana = this.remoteMediaManager) === null || _this$remoteMediaMana === void 0 ? void 0 : _this$remoteMediaMana.logAllReceiveSlots();
6708
- _context31.next = 55;
6717
+ _context31.next = 59;
6709
6718
  break;
6710
- case 43:
6711
- _context31.prev = 43;
6719
+ case 47:
6720
+ _context31.prev = 47;
6712
6721
  _context31.t0 = _context31["catch"](19);
6713
6722
  _loggerProxy.default.logger.error("".concat(LOG_HEADER, " failed to establish media connection: "), _context31.t0);
6714
6723
 
6715
6724
  // @ts-ignore
6716
- _context31.next = 48;
6725
+ _context31.next = 52;
6717
6726
  return this.webex.meetings.reachability.getReachabilityMetrics();
6718
- case 48:
6727
+ case 52:
6719
6728
  reachabilityMetrics = _context31.sent;
6720
6729
  _metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_FAILURE, _objectSpread({
6721
6730
  correlation_id: this.correlationId,
@@ -6731,9 +6740,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6731
6740
  connectionState: ((_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.connectionState) || ((_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.connectionState) || 'unknown',
6732
6741
  iceConnectionState: ((_this$mediaProperties34 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties34 === void 0 ? void 0 : (_this$mediaProperties35 = _this$mediaProperties34.multistreamConnection) === null || _this$mediaProperties35 === void 0 ? void 0 : (_this$mediaProperties36 = _this$mediaProperties35.pc) === null || _this$mediaProperties36 === void 0 ? void 0 : (_this$mediaProperties37 = _this$mediaProperties36.pc) === null || _this$mediaProperties37 === void 0 ? void 0 : _this$mediaProperties37.iceConnectionState) || ((_this$mediaProperties38 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties38 === void 0 ? void 0 : (_this$mediaProperties39 = _this$mediaProperties38.mediaConnection) === null || _this$mediaProperties39 === void 0 ? void 0 : (_this$mediaProperties40 = _this$mediaProperties39.pc) === null || _this$mediaProperties40 === void 0 ? void 0 : _this$mediaProperties40.iceConnectionState) || 'unknown'
6733
6742
  }, reachabilityMetrics));
6734
- _context31.next = 52;
6743
+ _context31.next = 56;
6735
6744
  return this.cleanUpOnAddMediaFailure();
6736
- case 52:
6745
+ case 56:
6737
6746
  // Upload logs on error while adding media
6738
6747
  _triggerProxy.default.trigger(this, {
6739
6748
  file: 'meeting/index',
@@ -6745,11 +6754,11 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6745
6754
  });
6746
6755
  }
6747
6756
  throw _context31.t0;
6748
- case 55:
6757
+ case 59:
6749
6758
  case "end":
6750
6759
  return _context31.stop();
6751
6760
  }
6752
- }, _callee31, this, [[19, 43]]);
6761
+ }, _callee31, this, [[19, 47]]);
6753
6762
  }));
6754
6763
  function addMedia() {
6755
6764
  return _addMedia.apply(this, arguments);