@webex/plugin-meetings 3.7.0-next.49 → 3.7.0-next.50
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 +39 -33
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/meeting/index.ts +6 -0
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.7.0-next.
|
|
1049
|
+
version: "3.7.0-next.50"
|
|
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.7.0-next.
|
|
376
|
+
version: "3.7.0-next.50"
|
|
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.7.0-next.
|
|
21
|
+
version: "3.7.0-next.50"
|
|
22
22
|
});
|
|
23
23
|
var _default = exports.default = SILanguage;
|
|
24
24
|
//# sourceMappingURL=siLanguage.js.map
|
package/dist/meeting/index.js
CHANGED
|
@@ -1278,12 +1278,18 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1278
1278
|
* @returns {undefined}
|
|
1279
1279
|
*/
|
|
1280
1280
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "handleShareVideoStreamMuteStateChange", function (muted) {
|
|
1281
|
-
var _this$statsAnalyzer;
|
|
1281
|
+
var _this$statsAnalyzer, _this$mediaProperties3, _this$mediaProperties4;
|
|
1282
1282
|
_loggerProxy.default.logger.log("Meeting:index#handleShareVideoStreamMuteStateChange --> Share video stream mute state changed to muted ".concat(muted));
|
|
1283
1283
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_SHARE_VIDEO_MUTE_STATE_CHANGE, {
|
|
1284
1284
|
correlationId: _this.correlationId,
|
|
1285
1285
|
muted: muted,
|
|
1286
|
-
encoderImplementation: (_this$statsAnalyzer = _this.statsAnalyzer) === null || _this$statsAnalyzer === void 0 ? void 0 : _this$statsAnalyzer.shareVideoEncoderImplementation
|
|
1286
|
+
encoderImplementation: (_this$statsAnalyzer = _this.statsAnalyzer) === null || _this$statsAnalyzer === void 0 ? void 0 : _this$statsAnalyzer.shareVideoEncoderImplementation,
|
|
1287
|
+
// TypeScript 4 does not recognize the `displaySurface` property. Instead of upgrading the
|
|
1288
|
+
// SDK to TypeScript 5, which may affect other packages, use bracket notation for now, since
|
|
1289
|
+
// all we're doing here is adding metrics.
|
|
1290
|
+
// eslint-disable-next-line dot-notation
|
|
1291
|
+
displaySurface: (_this$mediaProperties3 = _this.mediaProperties) === null || _this$mediaProperties3 === void 0 ? void 0 : (_this$mediaProperties4 = _this$mediaProperties3.shareVideoStream) === null || _this$mediaProperties4 === void 0 ? void 0 : _this$mediaProperties4.getSettings()['displaySurface'],
|
|
1292
|
+
isMultistream: _this.isMultistream
|
|
1287
1293
|
});
|
|
1288
1294
|
});
|
|
1289
1295
|
/**
|
|
@@ -1551,8 +1557,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1551
1557
|
* helper class for managing receive slots (for multistream media connections)
|
|
1552
1558
|
*/
|
|
1553
1559
|
_this.receiveSlotManager = new _receiveSlotManager.ReceiveSlotManager(function (mediaType) {
|
|
1554
|
-
var _this$
|
|
1555
|
-
if (!((_this$
|
|
1560
|
+
var _this$mediaProperties5;
|
|
1561
|
+
if (!((_this$mediaProperties5 = _this.mediaProperties) !== null && _this$mediaProperties5 !== void 0 && _this$mediaProperties5.webrtcMediaConnection)) {
|
|
1556
1562
|
return _promise.default.reject(new Error('Webrtc media connection is missing'));
|
|
1557
1563
|
}
|
|
1558
1564
|
return _this.mediaProperties.webrtcMediaConnection.createReceiveSlot(mediaType);
|
|
@@ -4715,10 +4721,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4715
4721
|
key: "closeRemoteStreams",
|
|
4716
4722
|
value: function closeRemoteStreams() {
|
|
4717
4723
|
var _this25 = this;
|
|
4718
|
-
var _this$
|
|
4719
|
-
remoteAudioStream = _this$
|
|
4720
|
-
remoteVideoStream = _this$
|
|
4721
|
-
remoteShareStream = _this$
|
|
4724
|
+
var _this$mediaProperties6 = this.mediaProperties,
|
|
4725
|
+
remoteAudioStream = _this$mediaProperties6.remoteAudioStream,
|
|
4726
|
+
remoteVideoStream = _this$mediaProperties6.remoteVideoStream,
|
|
4727
|
+
remoteShareStream = _this$mediaProperties6.remoteShareStream;
|
|
4722
4728
|
|
|
4723
4729
|
/**
|
|
4724
4730
|
* Triggers an event to the developer
|
|
@@ -4970,11 +4976,11 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4970
4976
|
}, {
|
|
4971
4977
|
key: "cleanupLocalStreams",
|
|
4972
4978
|
value: function cleanupLocalStreams() {
|
|
4973
|
-
var _this$
|
|
4974
|
-
audioStream = _this$
|
|
4975
|
-
videoStream = _this$
|
|
4976
|
-
shareAudioStream = _this$
|
|
4977
|
-
shareVideoStream = _this$
|
|
4979
|
+
var _this$mediaProperties7 = this.mediaProperties,
|
|
4980
|
+
audioStream = _this$mediaProperties7.audioStream,
|
|
4981
|
+
videoStream = _this$mediaProperties7.videoStream,
|
|
4982
|
+
shareAudioStream = _this$mediaProperties7.shareAudioStream,
|
|
4983
|
+
shareVideoStream = _this$mediaProperties7.shareVideoStream;
|
|
4978
4984
|
audioStream === null || audioStream === void 0 ? void 0 : audioStream.off(_mediaHelpers.LocalStreamEventNames.UserMuteStateChange, this.localAudioStreamMuteStateHandler);
|
|
4979
4985
|
audioStream === null || audioStream === void 0 ? void 0 : audioStream.off(_mediaHelpers.LocalStreamEventNames.SystemMuteStateChange, this.localAudioStreamMuteStateHandler);
|
|
4980
4986
|
audioStream === null || audioStream === void 0 ? void 0 : audioStream.off(_mediaHelpers.LocalStreamEventNames.OutputTrackChange, this.localOutputTrackChangeHandler);
|
|
@@ -6607,7 +6613,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6607
6613
|
key: "waitForMediaConnectionConnected",
|
|
6608
6614
|
value: (function () {
|
|
6609
6615
|
var _waitForMediaConnectionConnected = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
|
|
6610
|
-
var iceConnected, _this$
|
|
6616
|
+
var iceConnected, _this$mediaProperties8, _this$mediaProperties9, _this$mediaProperties10, _this$mediaProperties11, _this$mediaProperties12, _this$mediaProperties13, _this$mediaProperties14;
|
|
6611
6617
|
return _regenerator.default.wrap(function _callee24$(_context24) {
|
|
6612
6618
|
while (1) switch (_context24.prev = _context24.next) {
|
|
6613
6619
|
case 0:
|
|
@@ -6630,7 +6636,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6630
6636
|
_context24.t3 = this.addMediaData.icePhaseCallback();
|
|
6631
6637
|
_context24.t4 = this.webex.internal.newMetrics.callDiagnosticMetrics;
|
|
6632
6638
|
_context24.t5 = _internalPluginMetrics.CallDiagnosticUtils;
|
|
6633
|
-
_context24.t6 = ((_this$
|
|
6639
|
+
_context24.t6 = ((_this$mediaProperties8 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties8 === void 0 ? void 0 : (_this$mediaProperties9 = _this$mediaProperties8.multistreamConnection) === null || _this$mediaProperties9 === void 0 ? void 0 : (_this$mediaProperties10 = _this$mediaProperties9.pc) === null || _this$mediaProperties10 === void 0 ? void 0 : (_this$mediaProperties11 = _this$mediaProperties10.pc) === null || _this$mediaProperties11 === void 0 ? void 0 : _this$mediaProperties11.signalingState) || ((_this$mediaProperties12 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties12 === void 0 ? void 0 : (_this$mediaProperties13 = _this$mediaProperties12.mediaConnection) === null || _this$mediaProperties13 === void 0 ? void 0 : (_this$mediaProperties14 = _this$mediaProperties13.pc) === null || _this$mediaProperties14 === void 0 ? void 0 : _this$mediaProperties14.signalingState) || 'unknown';
|
|
6634
6640
|
_context24.t7 = iceConnected;
|
|
6635
6641
|
_context24.t8 = this.turnServerUsed;
|
|
6636
6642
|
_context24.next = 19;
|
|
@@ -7292,8 +7298,6 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7292
7298
|
numTransports,
|
|
7293
7299
|
reachabilityStats,
|
|
7294
7300
|
iceCandidateErrors,
|
|
7295
|
-
_this$mediaProperties13,
|
|
7296
|
-
_this$mediaProperties14,
|
|
7297
7301
|
_this$mediaProperties15,
|
|
7298
7302
|
_this$mediaProperties16,
|
|
7299
7303
|
_this$mediaProperties17,
|
|
@@ -7313,6 +7317,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7313
7317
|
_this$mediaProperties31,
|
|
7314
7318
|
_this$mediaProperties32,
|
|
7315
7319
|
_this$mediaProperties33,
|
|
7320
|
+
_this$mediaProperties34,
|
|
7321
|
+
_this$mediaProperties35,
|
|
7316
7322
|
reachabilityMetrics,
|
|
7317
7323
|
_yield$this$mediaProp2,
|
|
7318
7324
|
_selectedCandidatePairChanges,
|
|
@@ -7495,9 +7501,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7495
7501
|
retriedWithTurnServer: this.addMediaData.retriedWithTurnServer,
|
|
7496
7502
|
isMultistream: this.isMultistream,
|
|
7497
7503
|
isJoinWithMediaRetry: this.joinWithMediaRetryInfo.isRetry,
|
|
7498
|
-
signalingState: ((_this$
|
|
7499
|
-
connectionState: ((_this$
|
|
7500
|
-
iceConnectionState: ((_this$
|
|
7504
|
+
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',
|
|
7505
|
+
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',
|
|
7506
|
+
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'
|
|
7501
7507
|
}, reachabilityMetrics), _iceCandidateErrors), {}, {
|
|
7502
7508
|
iceCandidatesCount: this.iceCandidatesCount
|
|
7503
7509
|
}));
|
|
@@ -8285,10 +8291,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
8285
8291
|
var renderInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
8286
8292
|
var main = renderInfo.main,
|
|
8287
8293
|
content = renderInfo.content;
|
|
8288
|
-
var _this$
|
|
8289
|
-
mediaDirection = _this$
|
|
8290
|
-
remoteShareStream = _this$
|
|
8291
|
-
remoteVideoStream = _this$
|
|
8294
|
+
var _this$mediaProperties36 = this.mediaProperties,
|
|
8295
|
+
mediaDirection = _this$mediaProperties36.mediaDirection,
|
|
8296
|
+
remoteShareStream = _this$mediaProperties36.remoteShareStream,
|
|
8297
|
+
remoteVideoStream = _this$mediaProperties36.remoteVideoStream;
|
|
8292
8298
|
var layoutInfo = (0, _lodash.cloneDeep)(this.lastVideoLayoutInfo);
|
|
8293
8299
|
|
|
8294
8300
|
// TODO: We need a real time value for Audio, Video and Share send indicator
|
|
@@ -8560,8 +8566,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
8560
8566
|
}, {
|
|
8561
8567
|
key: "checkMediaConnection",
|
|
8562
8568
|
value: function checkMediaConnection() {
|
|
8563
|
-
var _this$
|
|
8564
|
-
if ((_this$
|
|
8569
|
+
var _this$mediaProperties37;
|
|
8570
|
+
if ((_this$mediaProperties37 = this.mediaProperties) !== null && _this$mediaProperties37 !== void 0 && _this$mediaProperties37.webrtcMediaConnection) {
|
|
8565
8571
|
return;
|
|
8566
8572
|
}
|
|
8567
8573
|
throw new _webexErrors.NoMediaEstablishedYetError();
|
|
@@ -8621,14 +8627,14 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
8621
8627
|
}, {
|
|
8622
8628
|
key: "updateTranscodedMediaConnection",
|
|
8623
8629
|
value: function updateTranscodedMediaConnection() {
|
|
8624
|
-
var _this$
|
|
8625
|
-
_this$mediaProperties37,
|
|
8626
|
-
_this$mediaProperties38,
|
|
8630
|
+
var _this$mediaProperties38,
|
|
8627
8631
|
_this$mediaProperties39,
|
|
8628
8632
|
_this$mediaProperties40,
|
|
8629
8633
|
_this$mediaProperties41,
|
|
8630
8634
|
_this$mediaProperties42,
|
|
8631
8635
|
_this$mediaProperties43,
|
|
8636
|
+
_this$mediaProperties44,
|
|
8637
|
+
_this$mediaProperties45,
|
|
8632
8638
|
_this55 = this;
|
|
8633
8639
|
var LOG_HEADER = 'Meeting:index#updateTranscodedMediaConnection -->';
|
|
8634
8640
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " starting"));
|
|
@@ -8638,10 +8644,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
8638
8644
|
return this.mediaProperties.webrtcMediaConnection.update({
|
|
8639
8645
|
// TODO: RoapMediaConnection is not ready to use stream classes yet, so we pass the raw MediaStreamTrack for now
|
|
8640
8646
|
localTracks: {
|
|
8641
|
-
audio: ((_this$
|
|
8642
|
-
video: ((_this$
|
|
8643
|
-
screenShareVideo: ((_this$
|
|
8644
|
-
screenShareAudio: ((_this$
|
|
8647
|
+
audio: ((_this$mediaProperties38 = this.mediaProperties.audioStream) === null || _this$mediaProperties38 === void 0 ? void 0 : (_this$mediaProperties39 = _this$mediaProperties38.outputStream) === null || _this$mediaProperties39 === void 0 ? void 0 : _this$mediaProperties39.getTracks()[0]) || null,
|
|
8648
|
+
video: ((_this$mediaProperties40 = this.mediaProperties.videoStream) === null || _this$mediaProperties40 === void 0 ? void 0 : (_this$mediaProperties41 = _this$mediaProperties40.outputStream) === null || _this$mediaProperties41 === void 0 ? void 0 : _this$mediaProperties41.getTracks()[0]) || null,
|
|
8649
|
+
screenShareVideo: ((_this$mediaProperties42 = this.mediaProperties.shareVideoStream) === null || _this$mediaProperties42 === void 0 ? void 0 : (_this$mediaProperties43 = _this$mediaProperties42.outputStream) === null || _this$mediaProperties43 === void 0 ? void 0 : _this$mediaProperties43.getTracks()[0]) || null,
|
|
8650
|
+
screenShareAudio: ((_this$mediaProperties44 = this.mediaProperties.shareAudioStream) === null || _this$mediaProperties44 === void 0 ? void 0 : (_this$mediaProperties45 = _this$mediaProperties44.outputStream) === null || _this$mediaProperties45 === void 0 ? void 0 : _this$mediaProperties45.getTracks()[0]) || null
|
|
8645
8651
|
},
|
|
8646
8652
|
direction: {
|
|
8647
8653
|
audio: _media.default.getDirection(true, this.mediaProperties.mediaDirection.receiveAudio, this.mediaProperties.mediaDirection.sendAudio),
|