@webex/plugin-meetings 2.24.1 → 2.25.0
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/meeting/index.js
CHANGED
|
@@ -5543,7 +5543,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5543
5543
|
}
|
|
5544
5544
|
/**
|
|
5545
5545
|
* Sends request to change layout type for the current meeting for the specific participant/device only
|
|
5546
|
-
* @param {String} layoutType a layout type that should be available in meeting constants {@link #layout_types}
|
|
5546
|
+
* @param {String} [layoutType] a layout type that should be available in meeting constants {@link #layout_types}
|
|
5547
5547
|
* @param {Object} renderInfo preferred dimensions for the remote main and content streams (server can ignore it)
|
|
5548
5548
|
* @param {Object} renderInfo.main preferred dimensions for the remote main video stream
|
|
5549
5549
|
* @param {Number} renderInfo.main.width preferred width of main video stream
|
|
@@ -5574,10 +5574,12 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5574
5574
|
return this.rejectWithErrorLog('Meeting:index#changeVideoLayout --> cannot change video layout, you are not recieving any video/share stream');
|
|
5575
5575
|
}
|
|
5576
5576
|
|
|
5577
|
-
if (
|
|
5577
|
+
if (layoutType) {
|
|
5578
|
+
if (!_constants.LAYOUT_TYPES.includes(layoutType)) {
|
|
5579
|
+
this.rejectWithErrorLog('Meeting:index#changeVideoLayout --> cannot change video layout, invalid layoutType recieved.');
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5578
5582
|
layoutInfo.layoutType = layoutType;
|
|
5579
|
-
} else {
|
|
5580
|
-
return this.rejectWithErrorLog('Meeting:index#changeVideoLayout --> cannot change video layout, invalid layoutType recieved.');
|
|
5581
5583
|
}
|
|
5582
5584
|
|
|
5583
5585
|
if (main) {
|