@webex/plugin-meetings 3.8.1-next.25 → 3.8.1-next.27
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/constants.js +6 -1
- package/dist/constants.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +1 -1
- package/dist/locus-info/index.js.map +1 -1
- package/dist/meeting/index.js +78 -1
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/request.js +19 -0
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/types/constants.d.ts +5 -0
- package/dist/types/meeting/index.d.ts +14 -0
- package/dist/types/meeting/request.d.ts +9 -1
- package/dist/types/meeting/request.type.d.ts +74 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/constants.ts +6 -0
- package/src/locus-info/index.ts +1 -1
- package/src/meeting/index.ts +71 -0
- package/src/meeting/request.ts +16 -0
- package/src/meeting/request.type.ts +64 -0
- package/test/unit/spec/locus-info/index.js +37 -3
- package/test/unit/spec/meeting/index.js +464 -34
- package/test/unit/spec/meeting/request.js +71 -0
package/dist/meeting/index.js
CHANGED
@@ -9482,7 +9482,84 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
9482
9482
|
return _getMediaReachabilityMetricFields.apply(this, arguments);
|
9483
9483
|
}
|
9484
9484
|
return getMediaReachabilityMetricFields;
|
9485
|
-
}()
|
9485
|
+
}()
|
9486
|
+
/**
|
9487
|
+
* Set the stage for the meeting
|
9488
|
+
*
|
9489
|
+
* @param {SetStageOptions} options Options to use when setting the stage
|
9490
|
+
* @returns {Promise} The locus request
|
9491
|
+
*/
|
9492
|
+
)
|
9493
|
+
}, {
|
9494
|
+
key: "setStage",
|
9495
|
+
value: function setStage() {
|
9496
|
+
var _ref37 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
9497
|
+
_ref37$activeSpeakerP = _ref37.activeSpeakerProportion,
|
9498
|
+
activeSpeakerProportion = _ref37$activeSpeakerP === void 0 ? 0.5 : _ref37$activeSpeakerP,
|
9499
|
+
customBackground = _ref37.customBackground,
|
9500
|
+
customLogo = _ref37.customLogo,
|
9501
|
+
customNameLabel = _ref37.customNameLabel,
|
9502
|
+
importantParticipants = _ref37.importantParticipants,
|
9503
|
+
_ref37$lockAttendeeVi = _ref37.lockAttendeeViewOnStage,
|
9504
|
+
lockAttendeeViewOnStage = _ref37$lockAttendeeVi === void 0 ? false : _ref37$lockAttendeeVi,
|
9505
|
+
_ref37$showActiveSpea = _ref37.showActiveSpeaker,
|
9506
|
+
showActiveSpeaker = _ref37$showActiveSpea === void 0 ? false : _ref37$showActiveSpea;
|
9507
|
+
var videoLayout = {
|
9508
|
+
overrideDefault: true,
|
9509
|
+
lockAttendeeViewOnStageOnly: lockAttendeeViewOnStage,
|
9510
|
+
stageParameters: {
|
9511
|
+
activeSpeakerProportion: activeSpeakerProportion,
|
9512
|
+
showActiveSpeaker: {
|
9513
|
+
show: showActiveSpeaker,
|
9514
|
+
order: 0
|
9515
|
+
},
|
9516
|
+
stageManagerType: 0
|
9517
|
+
}
|
9518
|
+
};
|
9519
|
+
if (importantParticipants !== null && importantParticipants !== void 0 && importantParticipants.length) {
|
9520
|
+
videoLayout.stageParameters.importantParticipants = importantParticipants.map(function (importantParticipant, index) {
|
9521
|
+
return _objectSpread(_objectSpread({}, importantParticipant), {}, {
|
9522
|
+
order: index + 1
|
9523
|
+
});
|
9524
|
+
});
|
9525
|
+
}
|
9526
|
+
if (customLogo) {
|
9527
|
+
if (!videoLayout.customLayouts) {
|
9528
|
+
videoLayout.customLayouts = {};
|
9529
|
+
}
|
9530
|
+
videoLayout.customLayouts.logo = customLogo;
|
9531
|
+
// eslint-disable-next-line no-bitwise
|
9532
|
+
videoLayout.stageParameters.stageManagerType |= _constants.STAGE_MANAGER_TYPE.LOGO;
|
9533
|
+
}
|
9534
|
+
if (customBackground) {
|
9535
|
+
if (!videoLayout.customLayouts) {
|
9536
|
+
videoLayout.customLayouts = {};
|
9537
|
+
}
|
9538
|
+
videoLayout.customLayouts.background = customBackground;
|
9539
|
+
// eslint-disable-next-line no-bitwise
|
9540
|
+
videoLayout.stageParameters.stageManagerType |= _constants.STAGE_MANAGER_TYPE.BACKGROUND;
|
9541
|
+
}
|
9542
|
+
if (customNameLabel) {
|
9543
|
+
videoLayout.nameLabelStyle = customNameLabel;
|
9544
|
+
// eslint-disable-next-line no-bitwise
|
9545
|
+
videoLayout.stageParameters.stageManagerType |= _constants.STAGE_MANAGER_TYPE.NAME_LABEL;
|
9546
|
+
}
|
9547
|
+
return this.meetingRequest.synchronizeStage(this.locusUrl, videoLayout);
|
9548
|
+
}
|
9549
|
+
|
9550
|
+
/**
|
9551
|
+
* Unset the stage for the meeting
|
9552
|
+
*
|
9553
|
+
* @returns {Promise} The locus request
|
9554
|
+
*/
|
9555
|
+
}, {
|
9556
|
+
key: "unsetStage",
|
9557
|
+
value: function unsetStage() {
|
9558
|
+
var videoLayout = {
|
9559
|
+
overrideDefault: false
|
9560
|
+
};
|
9561
|
+
return this.meetingRequest.synchronizeStage(this.locusUrl, videoLayout);
|
9562
|
+
}
|
9486
9563
|
}]);
|
9487
9564
|
return Meeting;
|
9488
9565
|
}(_webexCore.StatelessWebexPlugin);
|