@webex/plugin-meetings 3.10.0-next.1 → 3.10.0-next.11
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/annotation/annotation.types.js.map +1 -1
- package/dist/annotation/constants.js.map +1 -1
- package/dist/annotation/index.js +19 -22
- package/dist/annotation/index.js.map +1 -1
- package/dist/breakouts/breakout.js +6 -6
- package/dist/breakouts/breakout.js.map +1 -1
- package/dist/breakouts/collection.js.map +1 -1
- package/dist/breakouts/edit-lock-error.js +9 -11
- package/dist/breakouts/edit-lock-error.js.map +1 -1
- package/dist/breakouts/events.js.map +1 -1
- package/dist/breakouts/index.js +126 -127
- package/dist/breakouts/index.js.map +1 -1
- package/dist/breakouts/request.js +6 -8
- package/dist/breakouts/request.js.map +1 -1
- package/dist/breakouts/utils.js.map +1 -1
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.js +1 -2
- package/dist/common/collection.js.map +1 -1
- package/dist/common/config.js.map +1 -1
- package/dist/common/errors/captcha-error.js +9 -11
- package/dist/common/errors/captcha-error.js.map +1 -1
- package/dist/common/errors/intent-to-join.js +10 -12
- package/dist/common/errors/intent-to-join.js.map +1 -1
- package/dist/common/errors/join-forbidden-error.js +10 -12
- package/dist/common/errors/join-forbidden-error.js.map +1 -1
- package/dist/common/errors/join-meeting.js +10 -12
- package/dist/common/errors/join-meeting.js.map +1 -1
- package/dist/common/errors/join-webinar-error.js +9 -11
- package/dist/common/errors/join-webinar-error.js.map +1 -1
- package/dist/common/errors/media.js +9 -11
- package/dist/common/errors/media.js.map +1 -1
- package/dist/common/errors/multistream-not-supported-error.js +9 -11
- package/dist/common/errors/multistream-not-supported-error.js.map +1 -1
- package/dist/common/errors/no-meeting-info.js +9 -11
- package/dist/common/errors/no-meeting-info.js.map +1 -1
- package/dist/common/errors/parameter.js +11 -14
- package/dist/common/errors/parameter.js.map +1 -1
- package/dist/common/errors/password-error.js +9 -11
- package/dist/common/errors/password-error.js.map +1 -1
- package/dist/common/errors/permission.js +9 -11
- package/dist/common/errors/permission.js.map +1 -1
- package/dist/common/errors/reclaim-host-role-errors.js +32 -38
- package/dist/common/errors/reclaim-host-role-errors.js.map +1 -1
- package/dist/common/errors/reconnection-not-started.js +5 -6
- package/dist/common/errors/reconnection-not-started.js.map +1 -1
- package/dist/common/errors/reconnection.js +9 -11
- package/dist/common/errors/reconnection.js.map +1 -1
- package/dist/common/errors/stats.js +9 -11
- package/dist/common/errors/stats.js.map +1 -1
- package/dist/common/errors/webex-errors.js +38 -27
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/errors/webex-meetings-error.js +9 -12
- package/dist/common/errors/webex-meetings-error.js.map +1 -1
- package/dist/common/events/events-scope.js +9 -10
- package/dist/common/events/events-scope.js.map +1 -1
- package/dist/common/events/events.js +9 -10
- package/dist/common/events/events.js.map +1 -1
- package/dist/common/events/trigger-proxy.js.map +1 -1
- package/dist/common/events/util.js.map +1 -1
- package/dist/common/logs/logger-config.js.map +1 -1
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/logs/request.js +17 -17
- package/dist/common/logs/request.js.map +1 -1
- package/dist/common/queue.js +1 -2
- package/dist/common/queue.js.map +1 -1
- package/dist/config.js +0 -1
- package/dist/config.js.map +1 -1
- package/dist/constants.js +12 -8
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/index.js +1 -2
- package/dist/controls-options-manager/index.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +1 -2
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/hashTree/hashTreeParser.js +165 -0
- package/dist/hashTree/hashTreeParser.js.map +1 -0
- package/dist/hashTree/types.js +15 -0
- package/dist/hashTree/types.js.map +1 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/interceptors/index.js.map +1 -1
- package/dist/interceptors/locusRetry.js +6 -8
- package/dist/interceptors/locusRetry.js.map +1 -1
- package/dist/interceptors/locusRouteToken.js +6 -8
- package/dist/interceptors/locusRouteToken.js.map +1 -1
- package/dist/interpretation/collection.js.map +1 -1
- package/dist/interpretation/index.js +1 -2
- package/dist/interpretation/index.js.map +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/interpretation/siLanguage.js.map +1 -1
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/fullState.js.map +1 -1
- package/dist/locus-info/hostUtils.js.map +1 -1
- package/dist/locus-info/index.js +532 -94
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.js +3 -4
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/locus-info/types.js +7 -0
- package/dist/locus-info/types.js.map +1 -0
- package/dist/media/MediaConnectionAwaiter.js +1 -2
- package/dist/media/MediaConnectionAwaiter.js.map +1 -1
- package/dist/media/index.js +5 -2
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +15 -17
- package/dist/media/properties.js.map +1 -1
- package/dist/media/util.js.map +1 -1
- package/dist/meeting/brbState.js +8 -9
- package/dist/meeting/brbState.js.map +1 -1
- package/dist/meeting/connectionStateHandler.js +10 -13
- package/dist/meeting/connectionStateHandler.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +1556 -1528
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +13 -17
- package/dist/meeting/locusMediaRequest.js.map +1 -1
- package/dist/meeting/muteState.js +11 -12
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +101 -104
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js.map +1 -1
- package/dist/meeting/state.js.map +1 -1
- package/dist/meeting/type.js.map +1 -1
- package/dist/meeting/util.js +24 -23
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.js +3 -3
- package/dist/meeting/voicea-meeting.js.map +1 -1
- package/dist/meeting-info/collection.js +7 -10
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meeting-info/index.js +1 -2
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +135 -146
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/request.js +1 -2
- package/dist/meeting-info/request.js.map +1 -1
- package/dist/meeting-info/util.js +36 -37
- package/dist/meeting-info/util.js.map +1 -1
- package/dist/meeting-info/utilv2.js +30 -31
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/collection.js +6 -8
- package/dist/meetings/collection.js.map +1 -1
- package/dist/meetings/index.js +179 -141
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.js.map +1 -1
- package/dist/meetings/request.js +6 -8
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.js +25 -23
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +1 -2
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js +6 -3
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.js +1 -2
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.js +18 -21
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +8 -11
- package/dist/members/request.js.map +1 -1
- package/dist/members/types.js.map +1 -1
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +3 -1
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.js +3 -4
- package/dist/metrics/index.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +1 -2
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/receiveSlot.js +34 -45
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/receiveSlotManager.js +8 -9
- package/dist/multistream/receiveSlotManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js +12 -15
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +1 -2
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +122 -123
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/multistream/sendSlotManager.js +29 -30
- package/dist/multistream/sendSlotManager.js.map +1 -1
- package/dist/personal-meeting-room/index.js +16 -19
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/dist/personal-meeting-room/request.js +7 -10
- package/dist/personal-meeting-room/request.js.map +1 -1
- package/dist/personal-meeting-room/util.js.map +1 -1
- package/dist/reachability/clusterReachability.js +36 -39
- package/dist/reachability/clusterReachability.js.map +1 -1
- package/dist/reachability/index.js +203 -205
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/reachability.types.js.map +1 -1
- package/dist/reachability/request.js.map +1 -1
- package/dist/reachability/util.js.map +1 -1
- package/dist/reactions/constants.js.map +1 -1
- package/dist/reactions/reactions.js.map +1 -1
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/reconnection-manager/index.js +178 -176
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/enums.js.map +1 -1
- package/dist/recording-controller/index.js +1 -2
- package/dist/recording-controller/index.js.map +1 -1
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.js +12 -15
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.js +24 -26
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/turnDiscovery.js +75 -76
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/types.js.map +1 -1
- package/dist/transcription/index.js +4 -5
- package/dist/transcription/index.js.map +1 -1
- package/dist/types/common/errors/webex-errors.d.ts +12 -0
- package/dist/types/constants.d.ts +26 -21
- package/dist/types/hashTree/hashTreeParser.d.ts +109 -0
- package/dist/types/hashTree/types.d.ts +16 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/locus-info/index.d.ts +91 -42
- package/dist/types/locus-info/types.d.ts +45 -0
- package/dist/types/meeting/index.d.ts +22 -9
- package/dist/types/meetings/index.d.ts +9 -2
- package/dist/types/metrics/constants.d.ts +2 -0
- package/dist/webinar/collection.js +1 -2
- package/dist/webinar/collection.js.map +1 -1
- package/dist/webinar/index.js +148 -158
- package/dist/webinar/index.js.map +1 -1
- package/package.json +16 -16
- package/src/common/errors/webex-errors.ts +19 -0
- package/src/constants.ts +14 -2
- package/src/hashTree/hashTreeParser.ts +146 -0
- package/src/hashTree/types.ts +20 -0
- package/src/index.ts +2 -0
- package/src/locus-info/index.ts +534 -85
- package/src/locus-info/types.ts +46 -0
- package/src/media/index.ts +6 -0
- package/src/meeting/index.ts +61 -27
- package/src/meeting/util.ts +1 -0
- package/src/meetings/index.ts +104 -51
- package/src/metrics/constants.ts +2 -0
- package/test/unit/spec/locus-info/index.js +576 -1
- package/test/unit/spec/media/index.ts +140 -9
- package/test/unit/spec/meeting/index.js +178 -94
- package/test/unit/spec/meeting/utils.js +77 -0
- package/test/unit/spec/meetings/index.js +71 -28
|
@@ -690,11 +690,9 @@ describe('plugin-meetings', () => {
|
|
|
690
690
|
assert.deepEqual(result.options, {
|
|
691
691
|
mode: 'BLUR',
|
|
692
692
|
blurStrength: 'STRONG',
|
|
693
|
-
generator: 'worker',
|
|
694
693
|
quality: 'LOW',
|
|
695
694
|
authToken: 'fake_token',
|
|
696
695
|
mirror: false,
|
|
697
|
-
canvasResolutionScaling: 1,
|
|
698
696
|
});
|
|
699
697
|
assert.exists(result.enable);
|
|
700
698
|
assert.exists(result.disable);
|
|
@@ -916,7 +914,11 @@ describe('plugin-meetings', () => {
|
|
|
916
914
|
'LOCUS_ID'
|
|
917
915
|
);
|
|
918
916
|
assert.calledWith(initialSetup, {
|
|
919
|
-
|
|
917
|
+
trigger: 'get-loci-response',
|
|
918
|
+
locus: {
|
|
919
|
+
url: url1,
|
|
920
|
+
},
|
|
921
|
+
hashTreeMessage: undefined
|
|
920
922
|
});
|
|
921
923
|
});
|
|
922
924
|
});
|
|
@@ -1417,21 +1419,53 @@ describe('plugin-meetings', () => {
|
|
|
1417
1419
|
);
|
|
1418
1420
|
assert.calledOnce(initialSetup);
|
|
1419
1421
|
assert.calledWith(initialSetup, {
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1422
|
+
trigger: 'locus-message',
|
|
1423
|
+
locus: {
|
|
1424
|
+
id: uuid1,
|
|
1425
|
+
replaces: [
|
|
1426
|
+
{
|
|
1427
|
+
locusUrl: 'http:locusUrl',
|
|
1428
|
+
},
|
|
1429
|
+
],
|
|
1430
|
+
self: {
|
|
1431
|
+
callBackInfo: {
|
|
1432
|
+
callbackAddress: uri1,
|
|
1433
|
+
},
|
|
1434
|
+
devices: [],
|
|
1424
1435
|
},
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
callBackInfo: {
|
|
1428
|
-
callbackAddress: uri1,
|
|
1436
|
+
info: {
|
|
1437
|
+
webExMeetingId,
|
|
1429
1438
|
},
|
|
1430
|
-
devices: [],
|
|
1431
1439
|
},
|
|
1440
|
+
hashTreeMessage: undefined
|
|
1441
|
+
});
|
|
1442
|
+
});
|
|
1443
|
+
it('should setup the meeting from a hash tree event', async () => {
|
|
1444
|
+
const locus = {
|
|
1445
|
+
id: uuid1,
|
|
1446
|
+
self: {},
|
|
1432
1447
|
info: {
|
|
1433
1448
|
webExMeetingId,
|
|
1434
1449
|
},
|
|
1450
|
+
};
|
|
1451
|
+
const hashTreeMessage = {something: 'hashTreeData'};
|
|
1452
|
+
await webex.meetings.handleLocusEvent({
|
|
1453
|
+
locus,
|
|
1454
|
+
eventType: 'locus.state_message',
|
|
1455
|
+
locusUrl: url1,
|
|
1456
|
+
stateElementsMessage: hashTreeMessage,
|
|
1457
|
+
});
|
|
1458
|
+
assert.calledWith(webex.meetings.meetingCollection.getByKey, 'locusUrl', url1);
|
|
1459
|
+
assert.calledWith(
|
|
1460
|
+
webex.meetings.meetingCollection.getByKey,
|
|
1461
|
+
'meetingNumber',
|
|
1462
|
+
webExMeetingId
|
|
1463
|
+
);
|
|
1464
|
+
assert.calledOnce(initialSetup);
|
|
1465
|
+
assert.calledWith(initialSetup, {
|
|
1466
|
+
trigger: 'locus-message',
|
|
1467
|
+
locus,
|
|
1468
|
+
hashTreeMessage,
|
|
1435
1469
|
});
|
|
1436
1470
|
});
|
|
1437
1471
|
it('should setup the meeting by difference event without replaces', async () => {
|
|
@@ -1460,16 +1494,20 @@ describe('plugin-meetings', () => {
|
|
|
1460
1494
|
);
|
|
1461
1495
|
assert.calledOnce(initialSetup);
|
|
1462
1496
|
assert.calledWith(initialSetup, {
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1497
|
+
trigger: 'locus-message',
|
|
1498
|
+
locus: {
|
|
1499
|
+
id: uuid1,
|
|
1500
|
+
self: {
|
|
1501
|
+
callBackInfo: {
|
|
1502
|
+
callbackAddress: uri1,
|
|
1503
|
+
},
|
|
1504
|
+
devices: [],
|
|
1505
|
+
},
|
|
1506
|
+
info: {
|
|
1507
|
+
webExMeetingId,
|
|
1467
1508
|
},
|
|
1468
|
-
devices: [],
|
|
1469
|
-
},
|
|
1470
|
-
info: {
|
|
1471
|
-
webExMeetingId,
|
|
1472
1509
|
},
|
|
1510
|
+
hashTreeMessage: undefined
|
|
1473
1511
|
});
|
|
1474
1512
|
});
|
|
1475
1513
|
|
|
@@ -1532,16 +1570,20 @@ describe('plugin-meetings', () => {
|
|
|
1532
1570
|
);
|
|
1533
1571
|
assert.calledOnce(initialSetup);
|
|
1534
1572
|
assert.calledWith(initialSetup, {
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1573
|
+
trigger: 'locus-message',
|
|
1574
|
+
locus: {
|
|
1575
|
+
id: uuid1,
|
|
1576
|
+
self: {
|
|
1577
|
+
callBackInfo: {
|
|
1578
|
+
callbackAddress: uri1,
|
|
1579
|
+
},
|
|
1580
|
+
devices: [],
|
|
1581
|
+
},
|
|
1582
|
+
info: {
|
|
1583
|
+
webExMeetingId,
|
|
1539
1584
|
},
|
|
1540
|
-
devices: [],
|
|
1541
|
-
},
|
|
1542
|
-
info: {
|
|
1543
|
-
webExMeetingId,
|
|
1544
1585
|
},
|
|
1586
|
+
hashTreeMessage: undefined
|
|
1545
1587
|
});
|
|
1546
1588
|
});
|
|
1547
1589
|
|
|
@@ -3089,6 +3131,7 @@ describe('plugin-meetings', () => {
|
|
|
3089
3131
|
},
|
|
3090
3132
|
});
|
|
3091
3133
|
assert.calledWith(webex.meetings.handleLocusEvent, {
|
|
3134
|
+
eventType: LOCUSEVENT.SDK_NO_EVENT,
|
|
3092
3135
|
locus: breakoutLocus,
|
|
3093
3136
|
locusUrl: breakoutLocus.url,
|
|
3094
3137
|
});
|