@webex/plugin-meetings 3.0.0-beta.188 → 3.0.0-beta.189

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.0.0-beta.188"
212
+ version: "3.0.0-beta.189"
213
213
  });
214
214
  var _default = Breakout;
215
215
  exports.default = _default;
@@ -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.0.0-beta.188"
1044
+ version: "3.0.0-beta.189"
1045
1045
  });
1046
1046
  var _default = Breakouts;
1047
1047
  exports.default = _default;
@@ -359,7 +359,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
359
359
  throw error;
360
360
  });
361
361
  },
362
- version: "3.0.0-beta.188"
362
+ version: "3.0.0-beta.189"
363
363
  });
364
364
  var _default = SimultaneousInterpretation;
365
365
  exports.default = _default;
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
18
18
  languageCode: 'number',
19
19
  languageName: 'string'
20
20
  },
21
- version: "3.0.0-beta.188"
21
+ version: "3.0.0-beta.189"
22
22
  });
23
23
  var _default = SILanguage;
24
24
  exports.default = _default;
@@ -1728,6 +1728,16 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1728
1728
  return ((_this$joinedWith3 = this.joinedWith) === null || _this$joinedWith3 === void 0 ? void 0 : _this$joinedWith3.state) === 'JOINED';
1729
1729
  }
1730
1730
 
1731
+ /**
1732
+ * Returns whether this meeting is a Locus CALL
1733
+ * @returns {Boolean}
1734
+ */
1735
+ }, {
1736
+ key: "isLocusCall",
1737
+ value: function isLocusCall() {
1738
+ return this.type === 'CALL';
1739
+ }
1740
+
1731
1741
  /**
1732
1742
  * Fetches meeting information.
1733
1743
  * @param {Object} options
@@ -2881,10 +2891,12 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
2881
2891
  canShareApplication: _util3.default.hasHints({
2882
2892
  requiredHints: [_constants.DISPLAY_HINTS.SHARE_APPLICATION],
2883
2893
  displayHints: payload.info.userDisplayHints
2884
- }) && _util3.default.hasPolicies({
2894
+ }) && (_util3.default.hasPolicies({
2885
2895
  requiredPolicies: [_constants.SELF_POLICY.SUPPORT_APP_SHARE],
2886
2896
  policies: _this17.selfUserPolicies
2887
- }),
2897
+ }) ||
2898
+ // @ts-ignore
2899
+ !_this17.config.experimental.enableUnifiedMeetings) || _this17.isLocusCall(),
2888
2900
  canShareCamera: _util3.default.hasHints({
2889
2901
  requiredHints: [_constants.DISPLAY_HINTS.SHARE_CAMERA],
2890
2902
  displayHints: payload.info.userDisplayHints
@@ -2895,14 +2907,16 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
2895
2907
  canShareDesktop: _util3.default.hasHints({
2896
2908
  requiredHints: [_constants.DISPLAY_HINTS.SHARE_DESKTOP],
2897
2909
  displayHints: payload.info.userDisplayHints
2898
- }) && _util3.default.hasPolicies({
2910
+ }) && (_util3.default.hasPolicies({
2899
2911
  requiredPolicies: [_constants.SELF_POLICY.SUPPORT_DESKTOP_SHARE],
2900
2912
  policies: _this17.selfUserPolicies
2901
- }),
2913
+ }) ||
2914
+ // @ts-ignore
2915
+ !_this17.config.experimental.enableUnifiedMeetings) || _this17.isLocusCall(),
2902
2916
  canShareContent: _util3.default.hasHints({
2903
2917
  requiredHints: [_constants.DISPLAY_HINTS.SHARE_CONTENT],
2904
2918
  displayHints: payload.info.userDisplayHints
2905
- })
2919
+ }) || _this17.isLocusCall()
2906
2920
  });
2907
2921
  _this17.recordingController.setDisplayHints(payload.info.userDisplayHints);
2908
2922
  _this17.recordingController.setUserPolicy(_this17.selfUserPolicies);