@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.
- 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 +48 -43
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +2 -2
- package/src/meeting/index.ts +5 -0
- package/test/unit/spec/meeting/index.js +14 -0
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.9.0-next.
|
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.
|
376
|
+
version: "3.9.0-next.9"
|
377
377
|
});
|
378
378
|
var _default = exports.default = SimultaneousInterpretation;
|
379
379
|
//# sourceMappingURL=index.js.map
|
package/dist/meeting/index.js
CHANGED
@@ -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 =
|
7767
|
+
_context35.next = 20;
|
7765
7768
|
break;
|
7766
7769
|
}
|
7767
7770
|
throw new _webexErrors.UserInLobbyError();
|
7768
|
-
case
|
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 =
|
7809
|
-
_context35.next =
|
7811
|
+
_context35.prev = 25;
|
7812
|
+
_context35.next = 28;
|
7810
7813
|
return this.setUpLocalStreamReferences(localStreams);
|
7811
|
-
case
|
7814
|
+
case 28:
|
7812
7815
|
this.setMercuryListener();
|
7813
7816
|
this.createStatsAnalyzer();
|
7814
|
-
_context35.prev =
|
7815
|
-
_context35.next =
|
7817
|
+
_context35.prev = 30;
|
7818
|
+
_context35.next = 33;
|
7816
7819
|
return this.establishMediaConnection(remoteMediaManagerConfig, bundlePolicy, forceTurnDiscovery, turnServerInfo);
|
7817
|
-
case
|
7818
|
-
_context35.next =
|
7820
|
+
case 33:
|
7821
|
+
_context35.next = 46;
|
7819
7822
|
break;
|
7820
|
-
case
|
7821
|
-
_context35.prev =
|
7822
|
-
_context35.t0 = _context35["catch"](
|
7823
|
+
case 35:
|
7824
|
+
_context35.prev = 35;
|
7825
|
+
_context35.t0 = _context35["catch"](30);
|
7823
7826
|
if (!(_context35.t0 instanceof _multistreamNotSupportedError.default)) {
|
7824
|
-
_context35.next =
|
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 =
|
7831
|
+
_context35.next = 41;
|
7829
7832
|
return this.downgradeFromMultistreamToTranscoded();
|
7830
|
-
case
|
7831
|
-
_context35.next =
|
7833
|
+
case 41:
|
7834
|
+
_context35.next = 43;
|
7832
7835
|
return this.establishMediaConnection(remoteMediaManagerConfig, bundlePolicy, true, undefined);
|
7833
|
-
case
|
7834
|
-
_context35.next =
|
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 =
|
7844
|
+
_context35.next = 50;
|
7842
7845
|
break;
|
7843
7846
|
}
|
7844
|
-
_context35.next =
|
7847
|
+
_context35.next = 50;
|
7845
7848
|
return this.enqueueScreenShareFloorRequest();
|
7846
|
-
case
|
7847
|
-
_context35.next =
|
7849
|
+
case 50:
|
7850
|
+
_context35.next = 52;
|
7848
7851
|
return this.mediaProperties.getCurrentConnectionInfo();
|
7849
|
-
case
|
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 =
|
7859
|
+
_context35.next = 60;
|
7857
7860
|
return this.getMediaReachabilityMetricFields();
|
7858
|
-
case
|
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 =
|
7892
|
+
_context35.next = 86;
|
7889
7893
|
break;
|
7890
|
-
case
|
7891
|
-
_context35.prev =
|
7892
|
-
_context35.t1 = _context35["catch"](
|
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 =
|
7900
|
+
_context35.next = 73;
|
7897
7901
|
return this.getMediaReachabilityMetricFields();
|
7898
|
-
case
|
7902
|
+
case 73:
|
7899
7903
|
_reachabilityMetrics = _context35.sent;
|
7900
|
-
_context35.next =
|
7904
|
+
_context35.next = 76;
|
7901
7905
|
return this.mediaProperties.getCurrentConnectionInfo();
|
7902
|
-
case
|
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 =
|
7931
|
+
_context35.next = 83;
|
7927
7932
|
return this.cleanUpOnAddMediaFailure();
|
7928
|
-
case
|
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
|
7941
|
-
_context35.prev =
|
7945
|
+
case 86:
|
7946
|
+
_context35.prev = 86;
|
7942
7947
|
this.addMediaData.icePhaseCallback = DEFAULT_ICE_PHASE_CALLBACK;
|
7943
|
-
return _context35.finish(
|
7944
|
-
case
|
7948
|
+
return _context35.finish(86);
|
7949
|
+
case 89:
|
7945
7950
|
case "end":
|
7946
7951
|
return _context35.stop();
|
7947
7952
|
}
|
7948
|
-
}, _callee35, this, [[
|
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);
|