@webex/plugin-meetings 3.1.0-next.15 → 3.1.0-next.16
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 +87 -54
- package/dist/meeting/index.js.map +1 -1
- package/dist/types/meeting/index.d.ts +2 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/meeting/index.ts +44 -18
- package/test/unit/spec/meeting/index.js +38 -23
package/dist/breakouts/index.js
CHANGED
|
@@ -1041,7 +1041,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
|
1041
1041
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
|
1042
1042
|
}
|
|
1043
1043
|
},
|
|
1044
|
-
version: "3.1.0-next.
|
|
1044
|
+
version: "3.1.0-next.16"
|
|
1045
1045
|
});
|
|
1046
1046
|
var _default = exports.default = Breakouts;
|
|
1047
1047
|
//# sourceMappingURL=index.js.map
|
|
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
|
|
|
373
373
|
throw error;
|
|
374
374
|
});
|
|
375
375
|
},
|
|
376
|
-
version: "3.1.0-next.
|
|
376
|
+
version: "3.1.0-next.16"
|
|
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.1.0-next.
|
|
21
|
+
version: "3.1.0-next.16"
|
|
22
22
|
});
|
|
23
23
|
var _default = exports.default = SILanguage;
|
|
24
24
|
//# sourceMappingURL=siLanguage.js.map
|
package/dist/meeting/index.js
CHANGED
|
@@ -490,6 +490,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
490
490
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "turnDiscoverySkippedReason", void 0);
|
|
491
491
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "turnServerUsed", void 0);
|
|
492
492
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "areVoiceaEventsSetup", false);
|
|
493
|
+
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "isMoveToInProgress", false);
|
|
493
494
|
(0, _defineProperty3.default)((0, _assertThisInitialized2.default)(_this), "voiceaListenerCallbacks", (0, _defineProperty3.default)((0, _defineProperty3.default)((0, _defineProperty3.default)((0, _defineProperty3.default)({}, _internalPluginVoicea.EVENT_TRIGGERS.VOICEA_ANNOUNCEMENT, function (payload) {
|
|
494
495
|
_this.transcription.languageOptions = payload;
|
|
495
496
|
_loggerProxy.default.logger.debug("".concat(_util.default.getScopeLog({
|
|
@@ -1972,10 +1973,12 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1972
1973
|
*/
|
|
1973
1974
|
_this.remoteMediaManager = null;
|
|
1974
1975
|
_this.localAudioStreamMuteStateHandler = function () {
|
|
1975
|
-
_this
|
|
1976
|
+
var _this$audio;
|
|
1977
|
+
(_this$audio = _this.audio) === null || _this$audio === void 0 ? void 0 : _this$audio.handleLocalStreamMuteStateChange((0, _assertThisInitialized2.default)(_this));
|
|
1976
1978
|
};
|
|
1977
1979
|
_this.localVideoStreamMuteStateHandler = function () {
|
|
1978
|
-
_this
|
|
1980
|
+
var _this$video;
|
|
1981
|
+
(_this$video = _this.video) === null || _this$video === void 0 ? void 0 : _this$video.handleLocalStreamMuteStateChange((0, _assertThisInitialized2.default)(_this));
|
|
1979
1982
|
};
|
|
1980
1983
|
|
|
1981
1984
|
// The handling of output track changes should be done inside
|
|
@@ -4292,6 +4295,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4292
4295
|
key: "setLocalAudioStream",
|
|
4293
4296
|
value: (function () {
|
|
4294
4297
|
var _setLocalAudioStream = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(localStream) {
|
|
4298
|
+
var _this$audio2;
|
|
4295
4299
|
var oldStream;
|
|
4296
4300
|
return _regenerator.default.wrap(function _callee11$(_context11) {
|
|
4297
4301
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -4303,7 +4307,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4303
4307
|
|
|
4304
4308
|
// we don't update this.mediaProperties.mediaDirection.sendAudio, because we always keep it as true to avoid extra SDP exchanges
|
|
4305
4309
|
this.mediaProperties.setLocalAudioStream(localStream);
|
|
4306
|
-
this.audio.handleLocalStreamChange(this);
|
|
4310
|
+
(_this$audio2 = this.audio) === null || _this$audio2 === void 0 ? void 0 : _this$audio2.handleLocalStreamChange(this);
|
|
4307
4311
|
localStream === null || localStream === void 0 ? void 0 : localStream.on(_mediaHelpers.LocalStreamEventNames.UserMuteStateChange, this.localAudioStreamMuteStateHandler);
|
|
4308
4312
|
localStream === null || localStream === void 0 ? void 0 : localStream.on(_mediaHelpers.LocalStreamEventNames.SystemMuteStateChange, this.localAudioStreamMuteStateHandler);
|
|
4309
4313
|
localStream === null || localStream === void 0 ? void 0 : localStream.on(_mediaHelpers.LocalStreamEventNames.OutputTrackChange, this.localOutputTrackChangeHandler);
|
|
@@ -4339,6 +4343,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4339
4343
|
key: "setLocalVideoStream",
|
|
4340
4344
|
value: (function () {
|
|
4341
4345
|
var _setLocalVideoStream = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(localStream) {
|
|
4346
|
+
var _this$video2;
|
|
4342
4347
|
var oldStream;
|
|
4343
4348
|
return _regenerator.default.wrap(function _callee12$(_context12) {
|
|
4344
4349
|
while (1) switch (_context12.prev = _context12.next) {
|
|
@@ -4350,7 +4355,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4350
4355
|
|
|
4351
4356
|
// we don't update this.mediaProperties.mediaDirection.sendVideo, because we always keep it as true to avoid extra SDP exchanges
|
|
4352
4357
|
this.mediaProperties.setLocalVideoStream(localStream);
|
|
4353
|
-
this.video.handleLocalStreamChange(this);
|
|
4358
|
+
(_this$video2 = this.video) === null || _this$video2 === void 0 ? void 0 : _this$video2.handleLocalStreamChange(this);
|
|
4354
4359
|
localStream === null || localStream === void 0 ? void 0 : localStream.on(_mediaHelpers.LocalStreamEventNames.UserMuteStateChange, this.localVideoStreamMuteStateHandler);
|
|
4355
4360
|
localStream === null || localStream === void 0 ? void 0 : localStream.on(_mediaHelpers.LocalStreamEventNames.SystemMuteStateChange, this.localVideoStreamMuteStateHandler);
|
|
4356
4361
|
localStream === null || localStream === void 0 ? void 0 : localStream.on(_mediaHelpers.LocalStreamEventNames.OutputTrackChange, this.localOutputTrackChangeHandler);
|
|
@@ -5795,22 +5800,41 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5795
5800
|
receiveShare: true
|
|
5796
5801
|
}
|
|
5797
5802
|
};
|
|
5798
|
-
_this35.cleanupLocalStreams();
|
|
5799
5803
|
_this35.mediaProperties.setMediaDirection(mediaSettings.mediaDirection);
|
|
5800
5804
|
_this35.mediaProperties.unsetRemoteMedia();
|
|
5801
5805
|
|
|
5802
|
-
// when a move to is intiated by the client , Locus delets the existing media node from the server as soon the
|
|
5803
|
-
// once the
|
|
5804
|
-
|
|
5806
|
+
// when a move to is intiated by the client , Locus delets the existing media node from the server as soon the device answers the meeting
|
|
5807
|
+
// once the device answers we close the old connection and create new media server connection with only share enabled
|
|
5808
|
+
if (!_this35.statsAnalyzer) {
|
|
5809
|
+
_context20.next = 10;
|
|
5810
|
+
break;
|
|
5811
|
+
}
|
|
5805
5812
|
_context20.next = 10;
|
|
5806
|
-
return _this35.
|
|
5807
|
-
_metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_SUCCESS);
|
|
5808
|
-
});
|
|
5813
|
+
return _this35.statsAnalyzer.stopAnalyzer();
|
|
5809
5814
|
case 10:
|
|
5810
|
-
_context20.next =
|
|
5811
|
-
|
|
5815
|
+
_context20.next = 12;
|
|
5816
|
+
return _this35.closeRemoteStreams();
|
|
5812
5817
|
case 12:
|
|
5813
|
-
_context20.
|
|
5818
|
+
_context20.next = 14;
|
|
5819
|
+
return _this35.closePeerConnections();
|
|
5820
|
+
case 14:
|
|
5821
|
+
_this35.cleanupLocalStreams();
|
|
5822
|
+
_this35.unsetRemoteStreams();
|
|
5823
|
+
_this35.unsetPeerConnections();
|
|
5824
|
+
_this35.reconnectionManager.cleanUp();
|
|
5825
|
+
_context20.next = 20;
|
|
5826
|
+
return _this35.addMedia({
|
|
5827
|
+
audioEnabled: false,
|
|
5828
|
+
videoEnabled: false,
|
|
5829
|
+
shareVideoEnabled: true
|
|
5830
|
+
});
|
|
5831
|
+
case 20:
|
|
5832
|
+
_metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_SUCCESS);
|
|
5833
|
+
_this35.isMoveToInProgress = false;
|
|
5834
|
+
_context20.next = 29;
|
|
5835
|
+
break;
|
|
5836
|
+
case 24:
|
|
5837
|
+
_context20.prev = 24;
|
|
5814
5838
|
_context20.t0 = _context20["catch"](0);
|
|
5815
5839
|
_loggerProxy.default.logger.error('Meeting:index#moveTo --> Failed to moveTo resourceId', _context20.t0);
|
|
5816
5840
|
_metrics.default.sendBehavioralMetric(_constants2.default.MOVE_TO_FAILURE, {
|
|
@@ -5819,13 +5843,18 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5819
5843
|
reason: _context20.t0.message,
|
|
5820
5844
|
stack: _context20.t0.stack
|
|
5821
5845
|
});
|
|
5822
|
-
|
|
5846
|
+
_this35.isMoveToInProgress = false;
|
|
5847
|
+
case 29:
|
|
5823
5848
|
case "end":
|
|
5824
5849
|
return _context20.stop();
|
|
5825
5850
|
}
|
|
5826
|
-
}, _callee20, null, [[0,
|
|
5851
|
+
}, _callee20, null, [[0, 24]]);
|
|
5827
5852
|
})));
|
|
5828
5853
|
_loggerProxy.default.logger.info('Meeting:index#moveTo --> Initated moved to using resourceId', resourceId);
|
|
5854
|
+
|
|
5855
|
+
// TODO: Check with locus if SELF_OBSERVING event would ever be not emitted
|
|
5856
|
+
// If yes, introduce a timeout mechanism
|
|
5857
|
+
this.isMoveToInProgress = true;
|
|
5829
5858
|
return _util2.default.joinMeetingOptions(this, {
|
|
5830
5859
|
resourceId: resourceId,
|
|
5831
5860
|
moveToResource: true
|
|
@@ -5840,6 +5869,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5840
5869
|
stack: error.stack
|
|
5841
5870
|
});
|
|
5842
5871
|
_loggerProxy.default.logger.error('Meeting:index#moveTo --> Failed to moveTo resourceId', error);
|
|
5872
|
+
_this35.isMoveToInProgress = false;
|
|
5843
5873
|
return _promise.default.reject(error);
|
|
5844
5874
|
});
|
|
5845
5875
|
}
|
|
@@ -6323,7 +6353,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6323
6353
|
/**
|
|
6324
6354
|
* Performs TURN discovery as a separate call to the Locus /media API
|
|
6325
6355
|
*
|
|
6326
|
-
* @param {boolean}
|
|
6356
|
+
* @param {boolean} isReconnecting
|
|
6327
6357
|
* @param {boolean} isForced
|
|
6328
6358
|
* @returns {Promise}
|
|
6329
6359
|
*/
|
|
@@ -6331,7 +6361,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6331
6361
|
}, {
|
|
6332
6362
|
key: "doTurnDiscovery",
|
|
6333
6363
|
value: (function () {
|
|
6334
|
-
var _doTurnDiscovery = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(
|
|
6364
|
+
var _doTurnDiscovery = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(isReconnecting, isForced) {
|
|
6335
6365
|
var cdl, turnDiscoveryResult;
|
|
6336
6366
|
return _regenerator.default.wrap(function _callee28$(_context28) {
|
|
6337
6367
|
while (1) switch (_context28.prev = _context28.next) {
|
|
@@ -6342,7 +6372,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6342
6372
|
name: 'internal.client.add-media.turn-discovery.start'
|
|
6343
6373
|
});
|
|
6344
6374
|
_context28.next = 4;
|
|
6345
|
-
return this.roap.doTurnDiscovery(this,
|
|
6375
|
+
return this.roap.doTurnDiscovery(this, isReconnecting, isForced);
|
|
6346
6376
|
case 4:
|
|
6347
6377
|
turnDiscoveryResult = _context28.sent;
|
|
6348
6378
|
this.turnDiscoverySkippedReason = turnDiscoveryResult === null || turnDiscoveryResult === void 0 ? void 0 : turnDiscoveryResult.turnDiscoverySkippedReason;
|
|
@@ -6387,30 +6417,33 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6387
6417
|
key: "establishMediaConnection",
|
|
6388
6418
|
value: (function () {
|
|
6389
6419
|
var _establishMediaConnection = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29(remoteMediaManagerConfig, bundlePolicy, isForced, turnServerInfo) {
|
|
6390
|
-
var LOG_HEADER,
|
|
6420
|
+
var LOG_HEADER, isReconnecting, _yield$this$doTurnDis, mc;
|
|
6391
6421
|
return _regenerator.default.wrap(function _callee29$(_context29) {
|
|
6392
6422
|
while (1) switch (_context29.prev = _context29.next) {
|
|
6393
6423
|
case 0:
|
|
6394
6424
|
LOG_HEADER = 'Meeting:index#addMedia():establishMediaConnection -->';
|
|
6395
|
-
|
|
6396
|
-
|
|
6425
|
+
isReconnecting = this.isMoveToInProgress || this.retriedWithTurnServer; // We are forcing turn discovery if the case is moveTo and a turn server was used already
|
|
6426
|
+
if (this.isMoveToInProgress && this.turnServerUsed) {
|
|
6427
|
+
isForced = true;
|
|
6428
|
+
}
|
|
6429
|
+
_context29.prev = 3;
|
|
6397
6430
|
if (turnServerInfo) {
|
|
6398
|
-
_context29.next =
|
|
6431
|
+
_context29.next = 9;
|
|
6399
6432
|
break;
|
|
6400
6433
|
}
|
|
6401
|
-
_context29.next =
|
|
6402
|
-
return this.doTurnDiscovery(
|
|
6403
|
-
case
|
|
6434
|
+
_context29.next = 7;
|
|
6435
|
+
return this.doTurnDiscovery(isReconnecting, isForced);
|
|
6436
|
+
case 7:
|
|
6404
6437
|
_yield$this$doTurnDis = _context29.sent;
|
|
6405
6438
|
turnServerInfo = _yield$this$doTurnDis.turnServerInfo;
|
|
6406
|
-
case
|
|
6407
|
-
_context29.next =
|
|
6439
|
+
case 9:
|
|
6440
|
+
_context29.next = 11;
|
|
6408
6441
|
return this.createMediaConnection(turnServerInfo, bundlePolicy);
|
|
6409
|
-
case
|
|
6442
|
+
case 11:
|
|
6410
6443
|
mc = _context29.sent;
|
|
6411
6444
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " media connection created"));
|
|
6412
6445
|
if (!this.isMultistream) {
|
|
6413
|
-
_context29.next =
|
|
6446
|
+
_context29.next = 21;
|
|
6414
6447
|
break;
|
|
6415
6448
|
}
|
|
6416
6449
|
this.remoteMediaManager = new _remoteMediaManager.RemoteMediaManager(this.receiveSlotManager, this.mediaRequestManagers, remoteMediaManagerConfig);
|
|
@@ -6418,40 +6451,40 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6418
6451
|
this.forwardEvent(this.remoteMediaManager, _remoteMediaManager.Event.InterpretationAudioCreated, _constants.EVENT_TRIGGERS.REMOTE_MEDIA_INTERPRETATION_AUDIO_CREATED);
|
|
6419
6452
|
this.forwardEvent(this.remoteMediaManager, _remoteMediaManager.Event.ScreenShareAudioCreated, _constants.EVENT_TRIGGERS.REMOTE_MEDIA_SCREEN_SHARE_AUDIO_CREATED);
|
|
6420
6453
|
this.forwardEvent(this.remoteMediaManager, _remoteMediaManager.Event.VideoLayoutChanged, _constants.EVENT_TRIGGERS.REMOTE_MEDIA_VIDEO_LAYOUT_CHANGED);
|
|
6421
|
-
_context29.next =
|
|
6454
|
+
_context29.next = 21;
|
|
6422
6455
|
return this.remoteMediaManager.start();
|
|
6423
|
-
case
|
|
6424
|
-
_context29.next =
|
|
6456
|
+
case 21:
|
|
6457
|
+
_context29.next = 23;
|
|
6425
6458
|
return mc.initiateOffer();
|
|
6426
|
-
case
|
|
6427
|
-
_context29.next =
|
|
6459
|
+
case 23:
|
|
6460
|
+
_context29.next = 25;
|
|
6428
6461
|
return this.waitForRemoteSDPAnswer();
|
|
6429
|
-
case
|
|
6462
|
+
case 25:
|
|
6430
6463
|
this.handleMediaLogging(this.mediaProperties);
|
|
6431
|
-
_context29.next =
|
|
6464
|
+
_context29.next = 32;
|
|
6432
6465
|
break;
|
|
6433
|
-
case
|
|
6434
|
-
_context29.prev =
|
|
6435
|
-
_context29.t0 = _context29["catch"](
|
|
6466
|
+
case 28:
|
|
6467
|
+
_context29.prev = 28;
|
|
6468
|
+
_context29.t0 = _context29["catch"](3);
|
|
6436
6469
|
_loggerProxy.default.logger.error("".concat(LOG_HEADER, " error establishing media connection, "), _context29.t0);
|
|
6437
6470
|
throw _context29.t0;
|
|
6438
|
-
case
|
|
6439
|
-
_context29.prev =
|
|
6440
|
-
_context29.next =
|
|
6471
|
+
case 32:
|
|
6472
|
+
_context29.prev = 32;
|
|
6473
|
+
_context29.next = 35;
|
|
6441
6474
|
return this.waitForMediaConnectionConnected();
|
|
6442
|
-
case
|
|
6443
|
-
_context29.next =
|
|
6475
|
+
case 35:
|
|
6476
|
+
_context29.next = 41;
|
|
6444
6477
|
break;
|
|
6445
|
-
case
|
|
6446
|
-
_context29.prev =
|
|
6447
|
-
_context29.t1 = _context29["catch"](
|
|
6448
|
-
_context29.next =
|
|
6478
|
+
case 37:
|
|
6479
|
+
_context29.prev = 37;
|
|
6480
|
+
_context29.t1 = _context29["catch"](32);
|
|
6481
|
+
_context29.next = 41;
|
|
6449
6482
|
return this.handleWaitForMediaConnectionConnectedError(_context29.t1, remoteMediaManagerConfig, bundlePolicy);
|
|
6450
|
-
case
|
|
6483
|
+
case 41:
|
|
6451
6484
|
case "end":
|
|
6452
6485
|
return _context29.stop();
|
|
6453
6486
|
}
|
|
6454
|
-
}, _callee29, this, [[
|
|
6487
|
+
}, _callee29, this, [[3, 28], [32, 37]]);
|
|
6455
6488
|
}));
|
|
6456
6489
|
function establishMediaConnection(_x28, _x29, _x30, _x31) {
|
|
6457
6490
|
return _establishMediaConnection.apply(this, arguments);
|
|
@@ -6877,7 +6910,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6877
6910
|
*/
|
|
6878
6911
|
function () {
|
|
6879
6912
|
var _updateMedia = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33(options) {
|
|
6880
|
-
var audioEnabled, videoEnabled, shareAudioEnabled, shareVideoEnabled;
|
|
6913
|
+
var audioEnabled, videoEnabled, shareAudioEnabled, shareVideoEnabled, _this$audio3, _this$video3;
|
|
6881
6914
|
return _regenerator.default.wrap(function _callee33$(_context33) {
|
|
6882
6915
|
while (1) switch (_context33.prev = _context33.next) {
|
|
6883
6916
|
case 0:
|
|
@@ -6912,7 +6945,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6912
6945
|
if (audioEnabled !== undefined) {
|
|
6913
6946
|
this.mediaProperties.mediaDirection.sendAudio = audioEnabled;
|
|
6914
6947
|
this.mediaProperties.mediaDirection.receiveAudio = audioEnabled;
|
|
6915
|
-
this.audio.enable(this, audioEnabled);
|
|
6948
|
+
(_this$audio3 = this.audio) === null || _this$audio3 === void 0 ? void 0 : _this$audio3.enable(this, audioEnabled);
|
|
6916
6949
|
if (this.isMultistream) {
|
|
6917
6950
|
this.sendSlotManager.setActive(_internalMediaCore.MediaType.AudioMain, audioEnabled);
|
|
6918
6951
|
}
|
|
@@ -6920,7 +6953,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6920
6953
|
if (videoEnabled !== undefined) {
|
|
6921
6954
|
this.mediaProperties.mediaDirection.sendVideo = videoEnabled;
|
|
6922
6955
|
this.mediaProperties.mediaDirection.receiveVideo = videoEnabled;
|
|
6923
|
-
this.video.enable(this, videoEnabled);
|
|
6956
|
+
(_this$video3 = this.video) === null || _this$video3 === void 0 ? void 0 : _this$video3.enable(this, videoEnabled);
|
|
6924
6957
|
if (this.isMultistream) {
|
|
6925
6958
|
this.sendSlotManager.setActive(_internalMediaCore.MediaType.VideoMain, videoEnabled);
|
|
6926
6959
|
}
|