@webex/plugin-meetings 3.11.0-next.3 → 3.11.0-next.4

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.11.0-next.3"
212
+ version: "3.11.0-next.4"
213
213
  });
214
214
  var _default = exports.default = Breakout;
215
215
  //# sourceMappingURL=breakout.js.map
@@ -1109,7 +1109,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1109
1109
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1110
1110
  }
1111
1111
  },
1112
- version: "3.11.0-next.3"
1112
+ version: "3.11.0-next.4"
1113
1113
  });
1114
1114
  var _default = exports.default = Breakouts;
1115
1115
  //# sourceMappingURL=index.js.map
@@ -372,7 +372,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
372
372
  throw error;
373
373
  });
374
374
  },
375
- version: "3.11.0-next.3"
375
+ version: "3.11.0-next.4"
376
376
  });
377
377
  var _default = exports.default = SimultaneousInterpretation;
378
378
  //# 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.11.0-next.3"
21
+ version: "3.11.0-next.4"
22
22
  });
23
23
  var _default = exports.default = SILanguage;
24
24
  //# sourceMappingURL=siLanguage.js.map
@@ -452,6 +452,13 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
452
452
  (0, _defineProperty3.default)(_this, "keepAliveTimerId", void 0);
453
453
  (0, _defineProperty3.default)(_this, "lastVideoLayoutInfo", void 0);
454
454
  (0, _defineProperty3.default)(_this, "locusInfo", void 0);
455
+ // this group of properties is populated via updateMeetingObject() that's registered as a callback with LocusInfo
456
+ (0, _defineProperty3.default)(_this, "isUserUnadmitted", void 0);
457
+ (0, _defineProperty3.default)(_this, "joinedWith", void 0);
458
+ (0, _defineProperty3.default)(_this, "selfId", void 0);
459
+ (0, _defineProperty3.default)(_this, "roles", void 0);
460
+ // ... there is more ... see SelfUtils.parse()
461
+ // end of the group
455
462
  (0, _defineProperty3.default)(_this, "locusMediaRequest", void 0);
456
463
  (0, _defineProperty3.default)(_this, "mediaProperties", void 0);
457
464
  (0, _defineProperty3.default)(_this, "mediaRequestManagers", void 0);
@@ -480,7 +487,6 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
480
487
  (0, _defineProperty3.default)(_this, "endCallInitJoinReq", void 0);
481
488
  (0, _defineProperty3.default)(_this, "endJoinReqResp", void 0);
482
489
  (0, _defineProperty3.default)(_this, "endLocalSDPGenRemoteSDPRecvDelay", void 0);
483
- (0, _defineProperty3.default)(_this, "joinedWith", void 0);
484
490
  (0, _defineProperty3.default)(_this, "locusId", void 0);
485
491
  (0, _defineProperty3.default)(_this, "startCallInitJoinReq", void 0);
486
492
  (0, _defineProperty3.default)(_this, "startJoinReqResp", void 0);
@@ -495,12 +501,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
495
501
  (0, _defineProperty3.default)(_this, "permissionTokenReceivedLocalTime", void 0);
496
502
  (0, _defineProperty3.default)(_this, "resourceId", void 0);
497
503
  (0, _defineProperty3.default)(_this, "resourceUrl", void 0);
498
- (0, _defineProperty3.default)(_this, "selfId", void 0);
499
504
  (0, _defineProperty3.default)(_this, "state", void 0);
500
505
  (0, _defineProperty3.default)(_this, "localAudioStreamMuteStateHandler", void 0);
501
506
  (0, _defineProperty3.default)(_this, "localVideoStreamMuteStateHandler", void 0);
502
507
  (0, _defineProperty3.default)(_this, "localOutputTrackChangeHandler", void 0);
503
- (0, _defineProperty3.default)(_this, "roles", void 0);
504
508
  (0, _defineProperty3.default)(_this, "environment", void 0);
505
509
  (0, _defineProperty3.default)(_this, "namespace", _constants.MEETINGS);
506
510
  (0, _defineProperty3.default)(_this, "allowMediaInLobby", void 0);
@@ -7857,6 +7861,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7857
7861
  bundlePolicy,
7858
7862
  _options$additionalMe,
7859
7863
  additionalMediaOptions,
7864
+ _options$allowPublish,
7865
+ allowPublishMediaInLobby,
7860
7866
  rawSendVideo,
7861
7867
  rawReceiveVideo,
7862
7868
  rawSendAudio,
@@ -7924,7 +7930,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7924
7930
  }
7925
7931
  throw new _webexErrors.UserNotJoinedError();
7926
7932
  case 2:
7927
- localStreams = options.localStreams, _options$audioEnabled = options.audioEnabled, audioEnabled = _options$audioEnabled === void 0 ? true : _options$audioEnabled, _options$videoEnabled = options.videoEnabled, videoEnabled = _options$videoEnabled === void 0 ? true : _options$videoEnabled, _options$shareAudioEn = options.shareAudioEnabled, shareAudioEnabled = _options$shareAudioEn === void 0 ? true : _options$shareAudioEn, _options$shareVideoEn = options.shareVideoEnabled, shareVideoEnabled = _options$shareVideoEn === void 0 ? true : _options$shareVideoEn, remoteMediaManagerConfig = options.remoteMediaManagerConfig, _options$bundlePolicy = options.bundlePolicy, bundlePolicy = _options$bundlePolicy === void 0 ? 'max-bundle' : _options$bundlePolicy, _options$additionalMe = options.additionalMediaOptions, additionalMediaOptions = _options$additionalMe === void 0 ? {} : _options$additionalMe;
7933
+ localStreams = options.localStreams, _options$audioEnabled = options.audioEnabled, audioEnabled = _options$audioEnabled === void 0 ? true : _options$audioEnabled, _options$videoEnabled = options.videoEnabled, videoEnabled = _options$videoEnabled === void 0 ? true : _options$videoEnabled, _options$shareAudioEn = options.shareAudioEnabled, shareAudioEnabled = _options$shareAudioEn === void 0 ? true : _options$shareAudioEn, _options$shareVideoEn = options.shareVideoEnabled, shareVideoEnabled = _options$shareVideoEn === void 0 ? true : _options$shareVideoEn, remoteMediaManagerConfig = options.remoteMediaManagerConfig, _options$bundlePolicy = options.bundlePolicy, bundlePolicy = _options$bundlePolicy === void 0 ? 'max-bundle' : _options$bundlePolicy, _options$additionalMe = options.additionalMediaOptions, additionalMediaOptions = _options$additionalMe === void 0 ? {} : _options$additionalMe, _options$allowPublish = options.allowPublishMediaInLobby, allowPublishMediaInLobby = _options$allowPublish === void 0 ? false : _options$allowPublish;
7928
7934
  rawSendVideo = additionalMediaOptions.sendVideo, rawReceiveVideo = additionalMediaOptions.receiveVideo, rawSendAudio = additionalMediaOptions.sendAudio, rawReceiveAudio = additionalMediaOptions.receiveAudio;
7929
7935
  sendVideo = videoEnabled && (rawSendVideo !== null && rawSendVideo !== void 0 ? rawSendVideo : true);
7930
7936
  receiveVideo = videoEnabled && (rawReceiveVideo !== null && rawReceiveVideo !== void 0 ? rawReceiveVideo : true);
@@ -7935,7 +7941,6 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7935
7941
  // @ts-ignore
7936
7942
  ipver = _util2.default.getIpVersion(this.webex); // used just for metrics
7937
7943
  // If the user is unjoined or guest waiting in lobby dont allow the user to addMedia
7938
- // @ts-ignore - isUserUnadmitted coming from SelfUtil
7939
7944
  if (!(this.isUserUnadmitted && !this.wirelessShare && !this.allowMediaInLobby)) {
7940
7945
  _context33.next = 3;
7941
7946
  break;
@@ -7982,6 +7987,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
7982
7987
  this.video = (0, _muteState.createMuteState)(_constants.VIDEO, this, videoEnabled);
7983
7988
  this.brbState = (0, _brbState.createBrbState)(this, false);
7984
7989
  _context33.prev = 4;
7990
+ if (!(allowPublishMediaInLobby || !this.isUserUnadmitted)) {
7991
+ _context33.next = 5;
7992
+ break;
7993
+ }
7985
7994
  _context33.next = 5;
7986
7995
  return this.setUpLocalStreamReferences(localStreams);
7987
7996
  case 5: