@webex/plugin-meetings 3.8.0-next.6 → 3.8.0-next.60
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/common/errors/webex-errors.js +12 -2
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -1
- package/dist/constants.js +16 -121
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +2 -0
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +52 -0
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.js +28 -10
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +20 -1
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +405 -418
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +8 -16
- package/dist/media/index.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +13 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +548 -288
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +0 -17
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +0 -2
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +30 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/meeting/util.js +13 -2
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +359 -60
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +91 -1
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/util.js +14 -0
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +10 -0
- package/dist/member/index.js.map +1 -1
- package/dist/member/util.js +3 -0
- package/dist/member/util.js.map +1 -1
- package/dist/members/index.js +23 -0
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +21 -0
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +15 -0
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +9 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/reachability/clusterReachability.js +63 -27
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +112 -47
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js +14 -0
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/request.js +19 -3
- package/dist/reachability/request.js.map +1 -1
- package/dist/reconnection-manager/index.js +2 -2
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/util.js +5 -5
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +45 -27
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/types.js +17 -0
- package/dist/roap/types.js.map +1 -0
- package/dist/types/common/errors/webex-errors.d.ts +7 -1
- package/dist/types/config.d.ts +1 -0
- package/dist/types/constants.d.ts +11 -85
- package/dist/types/controls-options-manager/enums.d.ts +3 -1
- package/dist/types/controls-options-manager/types.d.ts +7 -1
- package/dist/types/locus-info/index.d.ts +1 -0
- package/dist/types/locus-info/selfUtils.d.ts +247 -1
- package/dist/types/meeting/in-meeting-actions.d.ts +12 -0
- package/dist/types/meeting/index.d.ts +54 -1
- package/dist/types/meeting/muteState.d.ts +0 -1
- package/dist/types/meeting/request.d.ts +12 -1
- package/dist/types/meeting/request.type.d.ts +6 -0
- package/dist/types/meeting/util.d.ts +3 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +80 -0
- package/dist/types/meetings/index.d.ts +38 -0
- package/dist/types/member/index.d.ts +1 -0
- package/dist/types/members/index.d.ts +8 -0
- package/dist/types/members/request.d.ts +19 -0
- package/dist/types/members/util.d.ts +13 -0
- package/dist/types/metrics/constants.d.ts +9 -0
- package/dist/types/reachability/clusterReachability.d.ts +15 -7
- package/dist/types/reachability/index.d.ts +10 -1
- package/dist/types/reachability/reachability.types.d.ts +5 -0
- package/dist/types/roap/index.d.ts +3 -2
- package/dist/types/roap/turnDiscovery.d.ts +5 -17
- package/dist/types/roap/types.d.ts +16 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +23 -23
- package/src/common/errors/webex-errors.ts +8 -1
- package/src/config.ts +1 -0
- package/src/constants.ts +18 -90
- package/src/controls-options-manager/enums.ts +2 -0
- package/src/controls-options-manager/types.ts +11 -1
- package/src/controls-options-manager/util.ts +62 -0
- package/src/locus-info/controlsUtils.ts +44 -14
- package/src/locus-info/index.ts +23 -1
- package/src/locus-info/selfUtils.ts +451 -447
- package/src/media/index.ts +11 -21
- package/src/meeting/in-meeting-actions.ts +24 -0
- package/src/meeting/index.ts +364 -92
- package/src/meeting/locusMediaRequest.ts +0 -18
- package/src/meeting/muteState.ts +0 -2
- package/src/meeting/request.ts +36 -1
- package/src/meeting/request.type.ts +7 -0
- package/src/meeting/util.ts +11 -2
- package/src/meeting-info/meeting-info-v2.ts +247 -6
- package/src/meetings/index.ts +107 -1
- package/src/meetings/util.ts +18 -0
- package/src/member/index.ts +11 -0
- package/src/member/util.ts +3 -0
- package/src/members/index.ts +25 -0
- package/src/members/request.ts +26 -0
- package/src/members/util.ts +16 -0
- package/src/metrics/constants.ts +9 -0
- package/src/reachability/clusterReachability.ts +73 -26
- package/src/reachability/index.ts +70 -1
- package/src/reachability/reachability.types.ts +6 -0
- package/src/reachability/request.ts +7 -0
- package/src/reconnection-manager/index.ts +2 -2
- package/src/recording-controller/util.ts +17 -13
- package/src/roap/index.ts +3 -7
- package/src/roap/turnDiscovery.ts +34 -39
- package/src/roap/types.ts +23 -0
- package/test/unit/spec/controls-options-manager/util.js +120 -0
- package/test/unit/spec/locus-info/controlsUtils.js +103 -9
- package/test/unit/spec/locus-info/index.js +28 -0
- package/test/unit/spec/media/index.ts +36 -16
- package/test/unit/spec/meeting/in-meeting-actions.ts +15 -4
- package/test/unit/spec/meeting/index.js +518 -34
- package/test/unit/spec/meeting/locusMediaRequest.ts +0 -30
- package/test/unit/spec/meeting/muteState.js +0 -2
- package/test/unit/spec/meeting/request.js +32 -1
- package/test/unit/spec/meeting/utils.js +119 -18
- package/test/unit/spec/meeting-info/meetinginfov2.js +443 -114
- package/test/unit/spec/meetings/index.js +120 -2
- package/test/unit/spec/member/index.js +7 -0
- package/test/unit/spec/member/util.js +24 -0
- package/test/unit/spec/members/index.js +103 -26
- package/test/unit/spec/members/request.js +45 -22
- package/test/unit/spec/members/utils.js +33 -0
- package/test/unit/spec/reachability/clusterReachability.ts +88 -56
- package/test/unit/spec/reachability/index.ts +101 -0
- package/test/unit/spec/reachability/request.js +47 -2
- package/test/unit/spec/reconnection-manager/index.js +4 -4
- package/test/unit/spec/roap/turnDiscovery.ts +110 -28
@@ -15,6 +15,8 @@ exports.default = void 0;
|
|
15
15
|
var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));
|
16
16
|
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
|
17
17
|
var _values = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/values"));
|
18
|
+
var _from = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/array/from"));
|
19
|
+
var _set = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/set"));
|
18
20
|
var _entries = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/entries"));
|
19
21
|
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
|
20
22
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/toConsumableArray"));
|
@@ -33,6 +35,7 @@ var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy")
|
|
33
35
|
var _util = _interopRequireDefault(require("../meeting/util"));
|
34
36
|
var _constants = require("../constants");
|
35
37
|
var _request = _interopRequireDefault(require("./request"));
|
38
|
+
var _reachability = require("./reachability.types");
|
36
39
|
var _clusterReachability = require("./clusterReachability");
|
37
40
|
var _eventsScope = _interopRequireDefault(require("../common/events/events-scope"));
|
38
41
|
var _constants2 = _interopRequireDefault(require("../metrics/constants"));
|
@@ -96,6 +99,7 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
96
99
|
});
|
97
100
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "startTime", undefined);
|
98
101
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "totalDuration", undefined);
|
102
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "natType", _reachability.NatType.Unknown);
|
99
103
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "lastTrigger", void 0);
|
100
104
|
_this.webex = webex;
|
101
105
|
|
@@ -174,6 +178,45 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
174
178
|
}
|
175
179
|
return getClusters;
|
176
180
|
}()
|
181
|
+
/**
|
182
|
+
* Checks if the given subnet is reachable
|
183
|
+
* @param {string} mediaServerIp - media server ip
|
184
|
+
* @returns {boolean | null} true if reachable, false if not reachable, null if mediaServerIp is not provided
|
185
|
+
* @public
|
186
|
+
* @memberof Reachability
|
187
|
+
*/
|
188
|
+
)
|
189
|
+
}, {
|
190
|
+
key: "isSubnetReachable",
|
191
|
+
value: function isSubnetReachable(mediaServerIp) {
|
192
|
+
if (!mediaServerIp) {
|
193
|
+
_loggerProxy.default.logger.error("Reachability:index#isSubnetReachable --> mediaServerIp is null");
|
194
|
+
return null;
|
195
|
+
}
|
196
|
+
var subnetFirstOctet = mediaServerIp.split('.')[0];
|
197
|
+
_loggerProxy.default.logger.info("Reachability:index#isSubnetReachable --> Looking for subnet: ".concat(subnetFirstOctet, ".X.X.X"));
|
198
|
+
var matchingReachedClusters = (0, _values.default)(this.clusterReachability).reduce(function (acc, cluster) {
|
199
|
+
var reachedSubnetsArray = (0, _from.default)(cluster.reachedSubnets);
|
200
|
+
var logMessage = "Reachability:index#isSubnetReachable --> Cluster ".concat(cluster.name, " reached [");
|
201
|
+
for (var i = 0; i < reachedSubnetsArray.length; i += 1) {
|
202
|
+
var subnet = reachedSubnetsArray[i];
|
203
|
+
var reachedSubnetFirstOctet = subnet.split('.')[0];
|
204
|
+
if (subnetFirstOctet === reachedSubnetFirstOctet) {
|
205
|
+
acc.add(cluster.name);
|
206
|
+
}
|
207
|
+
logMessage += "".concat(subnet);
|
208
|
+
if (i < reachedSubnetsArray.length - 1) {
|
209
|
+
logMessage += ',';
|
210
|
+
}
|
211
|
+
}
|
212
|
+
logMessage += "]";
|
213
|
+
_loggerProxy.default.logger.info(logMessage);
|
214
|
+
return acc;
|
215
|
+
}, new _set.default());
|
216
|
+
_loggerProxy.default.logger.info("Reachability:index#isSubnetReachable --> Found ".concat(matchingReachedClusters.size, " clusters that use the subnet ").concat(subnetFirstOctet, ".X.X.X"));
|
217
|
+
return matchingReachedClusters.size > 0;
|
218
|
+
}
|
219
|
+
|
177
220
|
/**
|
178
221
|
* Gets a list of media clusters from the backend and performs reachability checks on all the clusters
|
179
222
|
* @param {string} trigger - explains the reason for starting reachability
|
@@ -181,7 +224,6 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
181
224
|
* @public
|
182
225
|
* @memberof Reachability
|
183
226
|
*/
|
184
|
-
)
|
185
227
|
}, {
|
186
228
|
key: "gatherReachability",
|
187
229
|
value: (function () {
|
@@ -190,35 +232,41 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
190
232
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
191
233
|
while (1) switch (_context2.prev = _context2.next) {
|
192
234
|
case 0:
|
193
|
-
|
235
|
+
if (this.webex.config.meetings.enableReachabilityChecks) {
|
236
|
+
_context2.next = 2;
|
237
|
+
break;
|
238
|
+
}
|
239
|
+
throw new Error('enableReachabilityChecks is disabled in config');
|
240
|
+
case 2:
|
241
|
+
_context2.prev = 2;
|
194
242
|
this.lastTrigger = trigger;
|
195
243
|
|
196
244
|
// kick off ip version detection. We don't await it, as we don't want to waste time
|
197
245
|
// and if it fails, that's ok we can still carry on
|
198
246
|
// @ts-ignore
|
199
247
|
this.webex.internal.device.ipNetworkDetector.detect(true);
|
200
|
-
_context2.next =
|
248
|
+
_context2.next = 7;
|
201
249
|
return this.getClusters('startup');
|
202
|
-
case
|
250
|
+
case 7:
|
203
251
|
_yield$this$getCluste = _context2.sent;
|
204
252
|
clusters = _yield$this$getCluste.clusters;
|
205
253
|
this.reachabilityDefer = new _common.Defer();
|
206
254
|
|
207
255
|
// Perform Reachability Check
|
208
|
-
_context2.next =
|
256
|
+
_context2.next = 12;
|
209
257
|
return this.performReachabilityChecks(clusters);
|
210
|
-
case
|
258
|
+
case 12:
|
211
259
|
return _context2.abrupt("return", this.reachabilityDefer.promise);
|
212
|
-
case
|
213
|
-
_context2.prev =
|
214
|
-
_context2.t0 = _context2["catch"](
|
260
|
+
case 15:
|
261
|
+
_context2.prev = 15;
|
262
|
+
_context2.t0 = _context2["catch"](2);
|
215
263
|
_loggerProxy.default.logger.error("Reachability:index#gatherReachability --> Error:", _context2.t0);
|
216
264
|
return _context2.abrupt("return", {});
|
217
|
-
case
|
265
|
+
case 19:
|
218
266
|
case "end":
|
219
267
|
return _context2.stop();
|
220
268
|
}
|
221
|
-
}, _callee2, this, [[
|
269
|
+
}, _callee2, this, [[2, 15]]);
|
222
270
|
}));
|
223
271
|
function gatherReachability(_x3) {
|
224
272
|
return _gatherReachability.apply(this, arguments);
|
@@ -388,7 +436,7 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
388
436
|
function: 'stopReachability'
|
389
437
|
}, 'reachability:stopped', {});
|
390
438
|
this.sendMetric(true);
|
391
|
-
this.resolveReachabilityPromise();
|
439
|
+
this.resolveReachabilityPromise(false);
|
392
440
|
}
|
393
441
|
}
|
394
442
|
|
@@ -418,7 +466,8 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
418
466
|
reachability_vmn_tcp_success: 0,
|
419
467
|
reachability_vmn_tcp_failed: 0,
|
420
468
|
reachability_vmn_xtls_success: 0,
|
421
|
-
reachability_vmn_xtls_failed: 0
|
469
|
+
reachability_vmn_xtls_failed: 0,
|
470
|
+
natType: this.natType
|
422
471
|
};
|
423
472
|
updateStats = function updateStats(clusterType, result) {
|
424
473
|
if (result.udp && result.udp.result !== 'untested') {
|
@@ -1020,11 +1069,11 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1020
1069
|
}, {
|
1021
1070
|
key: "performReachabilityChecks",
|
1022
1071
|
value: (function () {
|
1023
|
-
var _performReachabilityChecks = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
1072
|
+
var _performReachabilityChecks = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(clusterList) {
|
1024
1073
|
var _this4 = this;
|
1025
1074
|
var results, isFirstResult;
|
1026
|
-
return _regenerator.default.wrap(function
|
1027
|
-
while (1) switch (
|
1075
|
+
return _regenerator.default.wrap(function _callee15$(_context15) {
|
1076
|
+
while (1) switch (_context15.prev = _context15.next) {
|
1028
1077
|
case 0:
|
1029
1078
|
results = {};
|
1030
1079
|
this.clusterReachability = {};
|
@@ -1082,11 +1131,11 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1082
1131
|
tcp: true,
|
1083
1132
|
xtls: true
|
1084
1133
|
}; // save the initialized results (in case we don't get any "resultReady" events at all)
|
1085
|
-
|
1134
|
+
_context15.next = 9;
|
1086
1135
|
return this.storeResults(results);
|
1087
1136
|
case 9:
|
1088
1137
|
if (!(!clusterList || !(0, _keys.default)(clusterList).length)) {
|
1089
|
-
|
1138
|
+
_context15.next = 13;
|
1090
1139
|
break;
|
1091
1140
|
}
|
1092
1141
|
// nothing to do, finish immediately
|
@@ -1095,7 +1144,7 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1095
1144
|
file: 'reachability',
|
1096
1145
|
function: 'performReachabilityChecks'
|
1097
1146
|
}, 'reachability:done', {});
|
1098
|
-
return
|
1147
|
+
return _context15.abrupt("return");
|
1099
1148
|
case 13:
|
1100
1149
|
this.startTimers();
|
1101
1150
|
|
@@ -1167,13 +1216,29 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1167
1216
|
return _ref7.apply(this, arguments);
|
1168
1217
|
};
|
1169
1218
|
}());
|
1219
|
+
_this4.clusterReachability[key].on(_clusterReachability.Events.natTypeUpdated, /*#__PURE__*/function () {
|
1220
|
+
var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(data) {
|
1221
|
+
return _regenerator.default.wrap(function _callee14$(_context14) {
|
1222
|
+
while (1) switch (_context14.prev = _context14.next) {
|
1223
|
+
case 0:
|
1224
|
+
_this4.natType = data.natType;
|
1225
|
+
case 1:
|
1226
|
+
case "end":
|
1227
|
+
return _context14.stop();
|
1228
|
+
}
|
1229
|
+
}, _callee14);
|
1230
|
+
}));
|
1231
|
+
return function (_x8) {
|
1232
|
+
return _ref8.apply(this, arguments);
|
1233
|
+
};
|
1234
|
+
}());
|
1170
1235
|
_this4.clusterReachability[key].start(); // not awaiting on purpose
|
1171
1236
|
});
|
1172
1237
|
case 15:
|
1173
1238
|
case "end":
|
1174
|
-
return
|
1239
|
+
return _context15.stop();
|
1175
1240
|
}
|
1176
|
-
},
|
1241
|
+
}, _callee15, this);
|
1177
1242
|
}));
|
1178
1243
|
function performReachabilityChecks(_x5) {
|
1179
1244
|
return _performReachabilityChecks.apply(this, arguments);
|
@@ -1192,42 +1257,42 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1192
1257
|
}, {
|
1193
1258
|
key: "getClientMediaPreferences",
|
1194
1259
|
value: (function () {
|
1195
|
-
var _getClientMediaPreferences = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
1260
|
+
var _getClientMediaPreferences = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16(isMultistream, ipver) {
|
1196
1261
|
var reachabilityReport;
|
1197
|
-
return _regenerator.default.wrap(function
|
1198
|
-
while (1) switch (
|
1262
|
+
return _regenerator.default.wrap(function _callee16$(_context16) {
|
1263
|
+
while (1) switch (_context16.prev = _context16.next) {
|
1199
1264
|
case 0:
|
1200
1265
|
if (this.orpheusApiVersion) {
|
1201
|
-
|
1266
|
+
_context16.next = 7;
|
1202
1267
|
break;
|
1203
1268
|
}
|
1204
|
-
|
1205
|
-
|
1269
|
+
_context16.t0 = ipver;
|
1270
|
+
_context16.next = 4;
|
1206
1271
|
return this.getJoinCookie();
|
1207
1272
|
case 4:
|
1208
|
-
|
1209
|
-
|
1210
|
-
return
|
1211
|
-
ipver:
|
1212
|
-
joinCookie:
|
1213
|
-
preferTranscoding:
|
1273
|
+
_context16.t1 = _context16.sent;
|
1274
|
+
_context16.t2 = !isMultistream;
|
1275
|
+
return _context16.abrupt("return", {
|
1276
|
+
ipver: _context16.t0,
|
1277
|
+
joinCookie: _context16.t1,
|
1278
|
+
preferTranscoding: _context16.t2
|
1214
1279
|
});
|
1215
1280
|
case 7:
|
1216
|
-
|
1281
|
+
_context16.next = 9;
|
1217
1282
|
return this.getReachabilityReport();
|
1218
1283
|
case 9:
|
1219
|
-
reachabilityReport =
|
1220
|
-
return
|
1284
|
+
reachabilityReport = _context16.sent;
|
1285
|
+
return _context16.abrupt("return", _objectSpread({
|
1221
1286
|
ipver: ipver,
|
1222
1287
|
preferTranscoding: !isMultistream
|
1223
1288
|
}, reachabilityReport));
|
1224
1289
|
case 11:
|
1225
1290
|
case "end":
|
1226
|
-
return
|
1291
|
+
return _context16.stop();
|
1227
1292
|
}
|
1228
|
-
},
|
1293
|
+
}, _callee16, this);
|
1229
1294
|
}));
|
1230
|
-
function getClientMediaPreferences(
|
1295
|
+
function getClientMediaPreferences(_x9, _x10) {
|
1231
1296
|
return _getClientMediaPreferences.apply(this, arguments);
|
1232
1297
|
}
|
1233
1298
|
return getClientMediaPreferences;
|
@@ -1243,22 +1308,22 @@ var Reachability = exports.default = /*#__PURE__*/function (_EventsScope) {
|
|
1243
1308
|
}, {
|
1244
1309
|
key: "getReachabilityReportToAttachToRoap",
|
1245
1310
|
value: (function () {
|
1246
|
-
var _getReachabilityReportToAttachToRoap = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
1247
|
-
return _regenerator.default.wrap(function
|
1248
|
-
while (1) switch (
|
1311
|
+
var _getReachabilityReportToAttachToRoap = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
|
1312
|
+
return _regenerator.default.wrap(function _callee17$(_context17) {
|
1313
|
+
while (1) switch (_context17.prev = _context17.next) {
|
1249
1314
|
case 0:
|
1250
1315
|
if (this.orpheusApiVersion) {
|
1251
|
-
|
1316
|
+
_context17.next = 2;
|
1252
1317
|
break;
|
1253
1318
|
}
|
1254
|
-
return
|
1319
|
+
return _context17.abrupt("return", this.getReachabilityResults());
|
1255
1320
|
case 2:
|
1256
|
-
return
|
1321
|
+
return _context17.abrupt("return", undefined);
|
1257
1322
|
case 3:
|
1258
1323
|
case "end":
|
1259
|
-
return
|
1324
|
+
return _context17.stop();
|
1260
1325
|
}
|
1261
|
-
},
|
1326
|
+
}, _callee17, this);
|
1262
1327
|
}));
|
1263
1328
|
function getReachabilityReportToAttachToRoap() {
|
1264
1329
|
return _getReachabilityReportToAttachToRoap.apply(this, arguments);
|