@webex/plugin-meetings 3.8.0-next.76 → 3.8.0-next.77
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/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.js +8 -3
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/meeting/index.ts +10 -1
- package/test/unit/spec/meeting/index.js +17 -0
package/dist/webinar/index.js
CHANGED
package/package.json
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
"@webex/eslint-config-legacy": "0.0.0",
|
44
44
|
"@webex/jest-config-legacy": "0.0.0",
|
45
45
|
"@webex/legacy-tools": "0.0.0",
|
46
|
-
"@webex/plugin-meetings": "3.8.0-next.
|
46
|
+
"@webex/plugin-meetings": "3.8.0-next.77",
|
47
47
|
"@webex/plugin-rooms": "3.8.0-next.25",
|
48
48
|
"@webex/test-helper-chai": "3.8.0-next.20",
|
49
49
|
"@webex/test-helper-mocha": "3.8.0-next.20",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"@webex/internal-plugin-metrics": "3.8.0-next.20",
|
72
72
|
"@webex/internal-plugin-support": "3.8.0-next.25",
|
73
73
|
"@webex/internal-plugin-user": "3.8.0-next.20",
|
74
|
-
"@webex/internal-plugin-voicea": "3.8.0-next.
|
74
|
+
"@webex/internal-plugin-voicea": "3.8.0-next.77",
|
75
75
|
"@webex/media-helpers": "3.8.0-next.24",
|
76
76
|
"@webex/plugin-people": "3.8.0-next.22",
|
77
77
|
"@webex/plugin-rooms": "3.8.0-next.25",
|
@@ -93,5 +93,5 @@
|
|
93
93
|
"//": [
|
94
94
|
"TODO: upgrade jwt-decode when moving to node 18"
|
95
95
|
],
|
96
|
-
"version": "3.8.0-next.
|
96
|
+
"version": "3.8.0-next.77"
|
97
97
|
}
|
package/src/meeting/index.ts
CHANGED
@@ -262,7 +262,10 @@ type FetchMeetingInfoParams = {
|
|
262
262
|
sendCAevents?: boolean;
|
263
263
|
};
|
264
264
|
|
265
|
-
type MediaReachabilityMetrics = ReachabilityMetrics & {
|
265
|
+
type MediaReachabilityMetrics = ReachabilityMetrics & {
|
266
|
+
isSubnetReachable: boolean;
|
267
|
+
selectedCluster: string | null;
|
268
|
+
};
|
266
269
|
|
267
270
|
/**
|
268
271
|
* MediaDirection
|
@@ -9691,9 +9694,15 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
9691
9694
|
isSubnetReachable = this.webex.meetings.reachability.isSubnetReachable(this.mediaServerIp);
|
9692
9695
|
}
|
9693
9696
|
|
9697
|
+
let selectedCluster = null;
|
9698
|
+
if (this.mediaConnections && this.mediaConnections.length > 0) {
|
9699
|
+
selectedCluster = this.mediaConnections[0].mediaAgentCluster;
|
9700
|
+
}
|
9701
|
+
|
9694
9702
|
return {
|
9695
9703
|
...reachabilityMetrics,
|
9696
9704
|
isSubnetReachable,
|
9705
|
+
selectedCluster,
|
9697
9706
|
};
|
9698
9707
|
}
|
9699
9708
|
}
|
@@ -2188,6 +2188,7 @@ describe('plugin-meetings', () => {
|
|
2188
2188
|
someReachabilityMetric2: 'some value2',
|
2189
2189
|
selectedCandidatePairChanges: 2,
|
2190
2190
|
isSubnetReachable: null,
|
2191
|
+
selectedCluster: null,
|
2191
2192
|
numTransports: 1,
|
2192
2193
|
iceCandidatesCount: 0,
|
2193
2194
|
}
|
@@ -2235,6 +2236,7 @@ describe('plugin-meetings', () => {
|
|
2235
2236
|
connectionState: 'unknown',
|
2236
2237
|
iceConnectionState: 'unknown',
|
2237
2238
|
isSubnetReachable: null,
|
2239
|
+
selectedCluster: null,
|
2238
2240
|
})
|
2239
2241
|
);
|
2240
2242
|
|
@@ -2301,6 +2303,7 @@ describe('plugin-meetings', () => {
|
|
2301
2303
|
numTransports: 1,
|
2302
2304
|
iceCandidatesCount: 0,
|
2303
2305
|
isSubnetReachable: null,
|
2306
|
+
selectedCluster: null,
|
2304
2307
|
}
|
2305
2308
|
);
|
2306
2309
|
});
|
@@ -2359,6 +2362,7 @@ describe('plugin-meetings', () => {
|
|
2359
2362
|
connectionState: 'connecting',
|
2360
2363
|
iceConnectionState: 'checking',
|
2361
2364
|
isSubnetReachable: null,
|
2365
|
+
selectedCluster: null,
|
2362
2366
|
})
|
2363
2367
|
);
|
2364
2368
|
|
@@ -2417,6 +2421,7 @@ describe('plugin-meetings', () => {
|
|
2417
2421
|
connectionState: 'connecting',
|
2418
2422
|
iceConnectionState: 'checking',
|
2419
2423
|
isSubnetReachable: null,
|
2424
|
+
selectedCluster: null,
|
2420
2425
|
})
|
2421
2426
|
);
|
2422
2427
|
|
@@ -2939,6 +2944,7 @@ describe('plugin-meetings', () => {
|
|
2939
2944
|
numTransports: 1,
|
2940
2945
|
iceCandidatesCount: 0,
|
2941
2946
|
isSubnetReachable: null,
|
2947
|
+
selectedCluster: null,
|
2942
2948
|
},
|
2943
2949
|
]);
|
2944
2950
|
|
@@ -3146,6 +3152,7 @@ describe('plugin-meetings', () => {
|
|
3146
3152
|
isJoinWithMediaRetry: false,
|
3147
3153
|
iceCandidatesCount: 0,
|
3148
3154
|
isSubnetReachable: null,
|
3155
|
+
selectedCluster: null,
|
3149
3156
|
},
|
3150
3157
|
]);
|
3151
3158
|
meeting.roap.doTurnDiscovery;
|
@@ -3276,6 +3283,11 @@ describe('plugin-meetings', () => {
|
|
3276
3283
|
stopReachability: sinon.stub(),
|
3277
3284
|
isSubnetReachable: sinon.stub().returns(true),
|
3278
3285
|
};
|
3286
|
+
meeting.mediaConnections = [
|
3287
|
+
{
|
3288
|
+
mediaAgentCluster: 'some.cluster',
|
3289
|
+
}
|
3290
|
+
]
|
3279
3291
|
meeting.iceCandidatesCount = 3;
|
3280
3292
|
meeting.iceCandidateErrors.set('701_error', 3);
|
3281
3293
|
meeting.iceCandidateErrors.set('701_turn_host_lookup_received_error', 1);
|
@@ -3304,6 +3316,7 @@ describe('plugin-meetings', () => {
|
|
3304
3316
|
'701_error': 3,
|
3305
3317
|
'701_turn_host_lookup_received_error': 1,
|
3306
3318
|
isSubnetReachable: null,
|
3319
|
+
selectedCluster: 'some.cluster',
|
3307
3320
|
}
|
3308
3321
|
);
|
3309
3322
|
|
@@ -3367,6 +3380,7 @@ describe('plugin-meetings', () => {
|
|
3367
3380
|
selectedCandidatePairChanges: 2,
|
3368
3381
|
numTransports: 1,
|
3369
3382
|
isSubnetReachable: null,
|
3383
|
+
selectedCluster: null,
|
3370
3384
|
iceCandidatesCount: 0,
|
3371
3385
|
}
|
3372
3386
|
);
|
@@ -3429,6 +3443,7 @@ describe('plugin-meetings', () => {
|
|
3429
3443
|
'701_error': 2,
|
3430
3444
|
'701_turn_host_lookup_received_error': 1,
|
3431
3445
|
isSubnetReachable: null,
|
3446
|
+
selectedCluster: null,
|
3432
3447
|
iceCandidatesCount: 0,
|
3433
3448
|
}
|
3434
3449
|
);
|
@@ -3478,6 +3493,7 @@ describe('plugin-meetings', () => {
|
|
3478
3493
|
iceCandidatesCount: 0,
|
3479
3494
|
reachability_public_udp_success: 5,
|
3480
3495
|
isSubnetReachable: false,
|
3496
|
+
selectedCluster: null,
|
3481
3497
|
});
|
3482
3498
|
});
|
3483
3499
|
|
@@ -3539,6 +3555,7 @@ describe('plugin-meetings', () => {
|
|
3539
3555
|
numTransports: 1,
|
3540
3556
|
reachability_public_udp_success: 5,
|
3541
3557
|
isSubnetReachable: true,
|
3558
|
+
selectedCluster: null,
|
3542
3559
|
iceCandidatesCount: 0,
|
3543
3560
|
}
|
3544
3561
|
);
|