@webex/plugin-meetings 3.4.0-next.14 → 3.4.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.
@@ -209,7 +209,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
209
209
  sessionId: this.sessionId
210
210
  });
211
211
  },
212
- version: "3.4.0-next.14"
212
+ version: "3.4.0-next.16"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -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.4.0-next.14"
1049
+ version: "3.4.0-next.16"
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.4.0-next.14"
376
+ version: "3.4.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.4.0-next.14"
21
+ version: "3.4.0-next.16"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -6327,6 +6327,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6327
6327
  *
6328
6328
  * @private
6329
6329
  * @static
6330
+ * @param {boolean} isAudioEnabled
6331
+ * @param {boolean} isVideoEnabled
6330
6332
  * @returns {Promise<void>}
6331
6333
  */
6332
6334
  }, {
@@ -6950,7 +6952,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
6950
6952
  break;
6951
6953
  }
6952
6954
  _context32.next = 28;
6953
- return Meeting.handleDeviceLogging();
6955
+ return Meeting.handleDeviceLogging(audioEnabled, videoEnabled);
6954
6956
  case 28:
6955
6957
  _context32.next = 31;
6956
6958
  break;
@@ -8553,29 +8555,57 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
8553
8555
  }], [{
8554
8556
  key: "handleDeviceLogging",
8555
8557
  value: (function () {
8556
- var _handleDeviceLogging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
8558
+ var _handleDeviceLogging = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39(isAudioEnabled, isVideoEnabled) {
8557
8559
  var devices;
8558
8560
  return _regenerator.default.wrap(function _callee39$(_context39) {
8559
8561
  while (1) switch (_context39.prev = _context39.next) {
8560
8562
  case 0:
8561
8563
  _context39.prev = 0;
8562
- _context39.next = 3;
8564
+ devices = [];
8565
+ if (!(isVideoEnabled && isAudioEnabled)) {
8566
+ _context39.next = 8;
8567
+ break;
8568
+ }
8569
+ _context39.next = 5;
8563
8570
  return (0, _mediaHelpers.getDevices)();
8564
- case 3:
8571
+ case 5:
8565
8572
  devices = _context39.sent;
8573
+ _context39.next = 18;
8574
+ break;
8575
+ case 8:
8576
+ if (!isVideoEnabled) {
8577
+ _context39.next = 14;
8578
+ break;
8579
+ }
8580
+ _context39.next = 11;
8581
+ return (0, _mediaHelpers.getDevices)(_media.default.DeviceKind.VIDEO_INPUT);
8582
+ case 11:
8583
+ devices = _context39.sent;
8584
+ _context39.next = 18;
8585
+ break;
8586
+ case 14:
8587
+ if (!isAudioEnabled) {
8588
+ _context39.next = 18;
8589
+ break;
8590
+ }
8591
+ _context39.next = 17;
8592
+ return (0, _mediaHelpers.getDevices)(_media.default.DeviceKind.AUDIO_INPUT);
8593
+ case 17:
8594
+ devices = _context39.sent;
8595
+ case 18:
8566
8596
  _util2.default.handleDeviceLogging(devices);
8567
- _context39.next = 9;
8597
+ _context39.next = 23;
8568
8598
  break;
8569
- case 7:
8570
- _context39.prev = 7;
8599
+ case 21:
8600
+ _context39.prev = 21;
8571
8601
  _context39.t0 = _context39["catch"](0);
8572
- case 9:
8602
+ case 23:
8573
8603
  case "end":
8574
8604
  return _context39.stop();
8575
8605
  }
8576
- }, _callee39, null, [[0, 7]]);
8606
+ }, _callee39, null, [[0, 21]]);
8577
8607
  }));
8578
- function handleDeviceLogging() {
8608
+ function handleDeviceLogging(_x43, _x44) {
8579
8609
  return _handleDeviceLogging.apply(this, arguments);
8580
8610
  }
8581
8611
  return handleDeviceLogging;