@webex/plugin-meetings 3.0.0-beta.133 → 3.0.0-beta.134
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/common/logs/logger-proxy.js +1 -1
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/controls-options-manager/util.js +17 -11
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/parser.js +1 -1
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/index.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +1 -0
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/roap/request.js.map +1 -1
- package/package.json +19 -19
- package/src/common/logs/logger-proxy.ts +1 -1
- package/src/controls-options-manager/util.ts +16 -11
- package/src/locus-info/index.ts +1 -1
- package/src/locus-info/parser.ts +1 -1
- package/src/meeting/index.ts +0 -1
- package/src/meetings/index.ts +0 -1
- package/src/multistream/remoteMediaManager.ts +1 -0
- package/src/reconnection-manager/index.ts +0 -1
- package/src/roap/request.ts +0 -1
- package/test/unit/spec/controls-options-manager/util.js +16 -2
|
@@ -153,17 +153,22 @@ class Utils {
|
|
|
153
153
|
) {
|
|
154
154
|
const requiredHints = [];
|
|
155
155
|
|
|
156
|
-
if
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
156
|
+
// This additional if statement avoids the display hint discrepency due to
|
|
157
|
+
// the service blocking partial requests with this property only.
|
|
158
|
+
if (control.properties.showDisplayNameWithReactions !== undefined) {
|
|
159
|
+
if (control.properties.showDisplayNameWithReactions === true) {
|
|
160
|
+
requiredHints.push(DISPLAY_HINTS.ENABLE_SHOW_DISPLAY_NAME);
|
|
161
|
+
}
|
|
162
|
+
if (control.properties.showDisplayNameWithReactions === false) {
|
|
163
|
+
requiredHints.push(DISPLAY_HINTS.DISABLE_SHOW_DISPLAY_NAME);
|
|
164
|
+
}
|
|
165
|
+
} else {
|
|
166
|
+
if (control.properties.enabled === true) {
|
|
167
|
+
requiredHints.push(DISPLAY_HINTS.ENABLE_REACTIONS);
|
|
168
|
+
}
|
|
169
|
+
if (control.properties.enabled === false) {
|
|
170
|
+
requiredHints.push(DISPLAY_HINTS.DISABLE_REACTIONS);
|
|
171
|
+
}
|
|
167
172
|
}
|
|
168
173
|
|
|
169
174
|
return Utils.hasHints({requiredHints, displayHints});
|
package/src/locus-info/index.ts
CHANGED
package/src/locus-info/parser.ts
CHANGED
|
@@ -478,7 +478,7 @@ export default class Parser {
|
|
|
478
478
|
* @param {Types~Locus} locus Locus delta
|
|
479
479
|
* @returns {undefined}
|
|
480
480
|
*/
|
|
481
|
-
// eslint-disable-next-line no-unused-vars
|
|
481
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
482
482
|
onDeltaAction(action: string, locus) {}
|
|
483
483
|
|
|
484
484
|
/**
|
package/src/meeting/index.ts
CHANGED
package/src/meetings/index.ts
CHANGED
|
@@ -96,6 +96,7 @@ const OnePlusFiveLayout: VideoLayout = {
|
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
// A layout with 2 big panes for 2 main active speakers and a strip of 6 small panes for other active speakers:
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99
100
|
const TwoMainPlusSixSmallLayout: VideoLayout = {
|
|
100
101
|
activeSpeakerVideoPaneGroups: [
|
|
101
102
|
{
|
|
@@ -19,7 +19,6 @@ import BEHAVIORAL_METRICS from '../metrics/constants';
|
|
|
19
19
|
import ReconnectionError from '../common/errors/reconnection';
|
|
20
20
|
import ReconnectInProgress from '../common/errors/reconnection-in-progress';
|
|
21
21
|
import {eventType, reconnection, errorObjects} from '../metrics/config';
|
|
22
|
-
import Media from '../media';
|
|
23
22
|
import Metrics from '../metrics';
|
|
24
23
|
import Meeting from '../meeting';
|
|
25
24
|
import {MediaRequestManager} from '../multistream/mediaRequestManager';
|
package/src/roap/request.ts
CHANGED
|
@@ -203,10 +203,9 @@ describe('plugin-meetings', () => {
|
|
|
203
203
|
});
|
|
204
204
|
});
|
|
205
205
|
|
|
206
|
-
it('should call hasHints() with
|
|
206
|
+
it('should call hasHints() with only enabled hints when respective property is provided', () => {
|
|
207
207
|
const properties = {
|
|
208
208
|
enabled: true,
|
|
209
|
-
showDisplayNameWithReactions: true,
|
|
210
209
|
};
|
|
211
210
|
|
|
212
211
|
ControlsOptionsUtil.canUpdateReactions({properties}, []);
|
|
@@ -214,6 +213,21 @@ describe('plugin-meetings', () => {
|
|
|
214
213
|
assert.calledWith(ControlsOptionsUtil.hasHints, {
|
|
215
214
|
requiredHints: [
|
|
216
215
|
DISPLAY_HINTS.ENABLE_REACTIONS,
|
|
216
|
+
],
|
|
217
|
+
displayHints: [],
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
it('should call hasHints() with only display name hints when respective property is provided', () => {
|
|
222
|
+
const properties = {
|
|
223
|
+
enabled: true,
|
|
224
|
+
showDisplayNameWithReactions: true,
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
ControlsOptionsUtil.canUpdateReactions({properties}, []);
|
|
228
|
+
|
|
229
|
+
assert.calledWith(ControlsOptionsUtil.hasHints, {
|
|
230
|
+
requiredHints: [
|
|
217
231
|
DISPLAY_HINTS.ENABLE_SHOW_DISPLAY_NAME,
|
|
218
232
|
],
|
|
219
233
|
displayHints: [],
|