@webex/plugin-meetings 3.8.0-next.55 → 3.8.0-next.56
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.
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.js +72 -34
- package/dist/meeting/index.js.map +1 -1
- package/dist/types/meeting/index.d.ts +6 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/meeting/index.ts +47 -15
- package/test/unit/spec/meeting/index.js +124 -10
package/dist/breakouts/index.js
CHANGED
@@ -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.8.0-next.
|
1049
|
+
version: "3.8.0-next.56"
|
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.8.0-next.
|
376
|
+
version: "3.8.0-next.56"
|
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.8.0-next.
|
21
|
+
version: "3.8.0-next.56"
|
22
22
|
});
|
23
23
|
var _default = exports.default = SILanguage;
|
24
24
|
//# sourceMappingURL=siLanguage.js.map
|
package/dist/meeting/index.js
CHANGED
@@ -7571,9 +7571,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7571
7571
|
connectionType,
|
7572
7572
|
selectedCandidatePairChanges,
|
7573
7573
|
numTransports,
|
7574
|
-
reachabilityStats,
|
7575
7574
|
iceCandidateErrors,
|
7576
|
-
|
7575
|
+
reachabilityMetrics,
|
7577
7576
|
_this$mediaProperties15,
|
7578
7577
|
_this$mediaProperties16,
|
7579
7578
|
_this$mediaProperties17,
|
@@ -7595,12 +7594,11 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7595
7594
|
_this$mediaProperties33,
|
7596
7595
|
_this$mediaProperties34,
|
7597
7596
|
_this$mediaProperties35,
|
7598
|
-
|
7597
|
+
_reachabilityMetrics,
|
7599
7598
|
_yield$this$mediaProp2,
|
7600
7599
|
_selectedCandidatePairChanges,
|
7601
7600
|
_numTransports,
|
7602
7601
|
_iceCandidateErrors,
|
7603
|
-
_isSubnetReachable,
|
7604
7602
|
_args35 = arguments;
|
7605
7603
|
return _regenerator.default.wrap(function _callee35$(_context35) {
|
7606
7604
|
while (1) switch (_context35.prev = _context35.next) {
|
@@ -7719,12 +7717,11 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7719
7717
|
connectionType = _yield$this$mediaProp.connectionType;
|
7720
7718
|
selectedCandidatePairChanges = _yield$this$mediaProp.selectedCandidatePairChanges;
|
7721
7719
|
numTransports = _yield$this$mediaProp.numTransports;
|
7722
|
-
|
7723
|
-
|
7724
|
-
|
7725
|
-
|
7726
|
-
|
7727
|
-
isSubnetReachable = this.webex.meetings.reachability.isSubnetReachable(this.mediaServerIp);
|
7720
|
+
iceCandidateErrors = Object.fromEntries(this.iceCandidateErrors);
|
7721
|
+
_context35.next = 53;
|
7722
|
+
return this.getMediaReachabilityMetricFields();
|
7723
|
+
case 53:
|
7724
|
+
reachabilityMetrics = _context35.sent;
|
7728
7725
|
_metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_SUCCESS, _objectSpread(_objectSpread(_objectSpread({
|
7729
7726
|
correlation_id: this.correlationId,
|
7730
7727
|
locus_id: this.locusUrl.split('/').pop(),
|
@@ -7733,9 +7730,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7733
7730
|
numTransports: numTransports,
|
7734
7731
|
isMultistream: this.isMultistream,
|
7735
7732
|
retriedWithTurnServer: this.addMediaData.retriedWithTurnServer,
|
7736
|
-
isJoinWithMediaRetry: this.joinWithMediaRetryInfo.isRetry
|
7737
|
-
|
7738
|
-
}, reachabilityStats), iceCandidateErrors), {}, {
|
7733
|
+
isJoinWithMediaRetry: this.joinWithMediaRetryInfo.isRetry
|
7734
|
+
}, reachabilityMetrics), iceCandidateErrors), {}, {
|
7739
7735
|
iceCandidatesCount: this.iceCandidatesCount
|
7740
7736
|
}));
|
7741
7737
|
// @ts-ignore
|
@@ -7750,26 +7746,25 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7750
7746
|
// We can log ReceiveSlot SSRCs only after the SDP exchange, so doing it here:
|
7751
7747
|
(_this$remoteMediaMana = this.remoteMediaManager) === null || _this$remoteMediaMana === void 0 ? void 0 : _this$remoteMediaMana.logAllReceiveSlots();
|
7752
7748
|
this.startPeriodicLogUpload();
|
7753
|
-
_context35.next =
|
7749
|
+
_context35.next = 79;
|
7754
7750
|
break;
|
7755
|
-
case
|
7756
|
-
_context35.prev =
|
7751
|
+
case 61:
|
7752
|
+
_context35.prev = 61;
|
7757
7753
|
_context35.t1 = _context35["catch"](19);
|
7758
7754
|
_loggerProxy.default.logger.error("".concat(LOG_HEADER, " failed to establish media connection: "), _context35.t1);
|
7759
7755
|
|
7760
7756
|
// @ts-ignore
|
7761
|
-
_context35.next =
|
7762
|
-
return this.
|
7763
|
-
case
|
7764
|
-
|
7765
|
-
_context35.next =
|
7757
|
+
_context35.next = 66;
|
7758
|
+
return this.getMediaReachabilityMetricFields();
|
7759
|
+
case 66:
|
7760
|
+
_reachabilityMetrics = _context35.sent;
|
7761
|
+
_context35.next = 69;
|
7766
7762
|
return this.mediaProperties.getCurrentConnectionInfo();
|
7767
|
-
case
|
7763
|
+
case 69:
|
7768
7764
|
_yield$this$mediaProp2 = _context35.sent;
|
7769
7765
|
_selectedCandidatePairChanges = _yield$this$mediaProp2.selectedCandidatePairChanges;
|
7770
7766
|
_numTransports = _yield$this$mediaProp2.numTransports;
|
7771
|
-
_iceCandidateErrors = Object.fromEntries(this.iceCandidateErrors);
|
7772
|
-
_isSubnetReachable = this.webex.meetings.reachability.isSubnetReachable(this.mediaServerIp);
|
7767
|
+
_iceCandidateErrors = Object.fromEntries(this.iceCandidateErrors);
|
7773
7768
|
_metrics.default.sendBehavioralMetric(_constants2.default.ADD_MEDIA_FAILURE, _objectSpread(_objectSpread(_objectSpread({
|
7774
7769
|
correlation_id: this.correlationId,
|
7775
7770
|
locus_id: this.locusUrl.split('/').pop(),
|
@@ -7786,14 +7781,12 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7786
7781
|
signalingState: ((_this$mediaProperties15 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties15 === void 0 ? void 0 : (_this$mediaProperties16 = _this$mediaProperties15.multistreamConnection) === null || _this$mediaProperties16 === void 0 ? void 0 : (_this$mediaProperties17 = _this$mediaProperties16.pc) === null || _this$mediaProperties17 === void 0 ? void 0 : (_this$mediaProperties18 = _this$mediaProperties17.pc) === null || _this$mediaProperties18 === void 0 ? void 0 : _this$mediaProperties18.signalingState) || ((_this$mediaProperties19 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties19 === void 0 ? void 0 : (_this$mediaProperties20 = _this$mediaProperties19.mediaConnection) === null || _this$mediaProperties20 === void 0 ? void 0 : (_this$mediaProperties21 = _this$mediaProperties20.pc) === null || _this$mediaProperties21 === void 0 ? void 0 : _this$mediaProperties21.signalingState) || 'unknown',
|
7787
7782
|
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',
|
7788
7783
|
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'
|
7789
|
-
},
|
7790
|
-
isSubnetReachable: _isSubnetReachable
|
7791
|
-
}, _iceCandidateErrors), {}, {
|
7784
|
+
}, _reachabilityMetrics), _iceCandidateErrors), {}, {
|
7792
7785
|
iceCandidatesCount: this.iceCandidatesCount
|
7793
7786
|
}));
|
7794
|
-
_context35.next =
|
7787
|
+
_context35.next = 76;
|
7795
7788
|
return this.cleanUpOnAddMediaFailure();
|
7796
|
-
case
|
7789
|
+
case 76:
|
7797
7790
|
// Upload logs on error while adding media
|
7798
7791
|
_triggerProxy.default.trigger(this, {
|
7799
7792
|
file: 'meeting/index',
|
@@ -7805,15 +7798,15 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
7805
7798
|
});
|
7806
7799
|
}
|
7807
7800
|
throw _context35.t1;
|
7808
|
-
case
|
7809
|
-
_context35.prev =
|
7801
|
+
case 79:
|
7802
|
+
_context35.prev = 79;
|
7810
7803
|
this.addMediaData.icePhaseCallback = DEFAULT_ICE_PHASE_CALLBACK;
|
7811
|
-
return _context35.finish(
|
7812
|
-
case
|
7804
|
+
return _context35.finish(79);
|
7805
|
+
case 82:
|
7813
7806
|
case "end":
|
7814
7807
|
return _context35.stop();
|
7815
7808
|
}
|
7816
|
-
}, _callee35, this, [[19,
|
7809
|
+
}, _callee35, this, [[19, 61, 79, 82], [24, 29]]);
|
7817
7810
|
}));
|
7818
7811
|
function addMediaInternal(_x33, _x34, _x35) {
|
7819
7812
|
return _addMediaInternal.apply(this, arguments);
|
@@ -9352,6 +9345,51 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
9352
9345
|
}
|
9353
9346
|
return _promise.default.resolve();
|
9354
9347
|
}
|
9348
|
+
|
9349
|
+
/**
|
9350
|
+
* Gets the media reachability metrics
|
9351
|
+
*
|
9352
|
+
* @returns {Promise<MediaReachabilityMetrics>}
|
9353
|
+
*/
|
9354
|
+
}, {
|
9355
|
+
key: "getMediaReachabilityMetricFields",
|
9356
|
+
value: (function () {
|
9357
|
+
var _getMediaReachabilityMetricFields = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() {
|
9358
|
+
var reachabilityMetrics, successKeys, totalSuccessCases, isSubnetReachable;
|
9359
|
+
return _regenerator.default.wrap(function _callee42$(_context42) {
|
9360
|
+
while (1) switch (_context42.prev = _context42.next) {
|
9361
|
+
case 0:
|
9362
|
+
_context42.next = 2;
|
9363
|
+
return this.webex.meetings.reachability.getReachabilityMetrics();
|
9364
|
+
case 2:
|
9365
|
+
reachabilityMetrics = _context42.sent;
|
9366
|
+
successKeys = ['reachability_public_udp_success', 'reachability_public_tcp_success', 'reachability_public_xtls_success', 'reachability_vmn_udp_success', 'reachability_vmn_tcp_success', 'reachability_vmn_xtls_success'];
|
9367
|
+
totalSuccessCases = successKeys.reduce(function (total, key) {
|
9368
|
+
var value = reachabilityMetrics[key];
|
9369
|
+
if (typeof value === 'number') {
|
9370
|
+
return total + value;
|
9371
|
+
}
|
9372
|
+
return total;
|
9373
|
+
}, 0);
|
9374
|
+
isSubnetReachable = null;
|
9375
|
+
if (totalSuccessCases > 0) {
|
9376
|
+
// @ts-ignore
|
9377
|
+
isSubnetReachable = this.webex.meetings.reachability.isSubnetReachable(this.mediaServerIp);
|
9378
|
+
}
|
9379
|
+
return _context42.abrupt("return", _objectSpread(_objectSpread({}, reachabilityMetrics), {}, {
|
9380
|
+
isSubnetReachable: isSubnetReachable
|
9381
|
+
}));
|
9382
|
+
case 8:
|
9383
|
+
case "end":
|
9384
|
+
return _context42.stop();
|
9385
|
+
}
|
9386
|
+
}, _callee42, this);
|
9387
|
+
}));
|
9388
|
+
function getMediaReachabilityMetricFields() {
|
9389
|
+
return _getMediaReachabilityMetricFields.apply(this, arguments);
|
9390
|
+
}
|
9391
|
+
return getMediaReachabilityMetricFields;
|
9392
|
+
}())
|
9355
9393
|
}]);
|
9356
9394
|
return Meeting;
|
9357
9395
|
}(_webexCore.StatelessWebexPlugin);
|