@webex/plugin-meetings 3.8.1-next.7 → 3.8.1-next.8
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 +10 -9
- package/dist/meeting/index.js.map +1 -1
- package/dist/reachability/index.js +5 -10
- package/dist/reachability/index.js.map +1 -1
- package/dist/types/reachability/index.d.ts +2 -2
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/meeting/index.ts +13 -11
- package/src/reachability/index.ts +5 -13
- package/test/unit/spec/meeting/index.js +50 -26
- package/test/unit/spec/reachability/index.ts +2 -6
package/dist/breakouts/index.js
CHANGED
@@ -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.8.1-next.
|
1113
|
+
version: "3.8.1-next.8"
|
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.8.1-next.
|
376
|
+
version: "3.8.1-next.8"
|
377
377
|
});
|
378
378
|
var _default = exports.default = SimultaneousInterpretation;
|
379
379
|
//# sourceMappingURL=index.js.map
|
package/dist/meeting/index.js
CHANGED
@@ -9422,7 +9422,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
9422
9422
|
key: "getMediaReachabilityMetricFields",
|
9423
9423
|
value: (function () {
|
9424
9424
|
var _getMediaReachabilityMetricFields = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() {
|
9425
|
-
var
|
9425
|
+
var _this$mediaServerIp, _this$mediaConnection, _this$mediaConnection2, _this$mediaConnection3;
|
9426
|
+
var reachabilityMetrics, successKeys, totalSuccessCases, selectedSubnetFirstOctet, isSubnetReachable, selectedCluster;
|
9426
9427
|
return _regenerator.default.wrap(function _callee42$(_context42) {
|
9427
9428
|
while (1) switch (_context42.prev = _context42.next) {
|
9428
9429
|
case 0:
|
@@ -9438,18 +9439,18 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
9438
9439
|
}
|
9439
9440
|
return total;
|
9440
9441
|
}, 0);
|
9442
|
+
selectedSubnetFirstOctet = (_this$mediaServerIp = this.mediaServerIp) === null || _this$mediaServerIp === void 0 ? void 0 : _this$mediaServerIp.split('.')[0];
|
9441
9443
|
isSubnetReachable = null;
|
9442
|
-
if (totalSuccessCases > 0) {
|
9444
|
+
if (totalSuccessCases > 0 && selectedSubnetFirstOctet) {
|
9445
|
+
isSubnetReachable =
|
9443
9446
|
// @ts-ignore
|
9444
|
-
|
9445
|
-
}
|
9446
|
-
selectedCluster = null;
|
9447
|
-
if (this.mediaConnections && this.mediaConnections.length > 0) {
|
9448
|
-
selectedCluster = this.mediaConnections[0].mediaAgentCluster;
|
9447
|
+
this.webex.meetings.reachability.isSubnetReachable(selectedSubnetFirstOctet);
|
9449
9448
|
}
|
9449
|
+
selectedCluster = (_this$mediaConnection = (_this$mediaConnection2 = this.mediaConnections) === null || _this$mediaConnection2 === void 0 ? void 0 : (_this$mediaConnection3 = _this$mediaConnection2[0]) === null || _this$mediaConnection3 === void 0 ? void 0 : _this$mediaConnection3.mediaAgentCluster) !== null && _this$mediaConnection !== void 0 ? _this$mediaConnection : null;
|
9450
9450
|
return _context42.abrupt("return", _objectSpread(_objectSpread({}, reachabilityMetrics), {}, {
|
9451
|
-
|
9452
|
-
|
9451
|
+
subnet_reachable: isSubnetReachable,
|
9452
|
+
selected_cluster: selectedCluster,
|
9453
|
+
selected_subnet: selectedSubnetFirstOctet ? "".concat(selectedSubnetFirstOctet, ".X.X.X") : null
|
9453
9454
|
}));
|
9454
9455
|
case 10:
|
9455
9456
|
case "end":
|