@webex/plugin-meetings 3.7.0-next.10 → 3.7.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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.js +3 -2
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/config.ts +1 -1
- package/src/meeting/index.ts +2 -1
- package/test/unit/spec/meeting/index.js +14 -16
package/dist/webinar/index.js
CHANGED
|
@@ -107,7 +107,7 @@ var Webinar = _webexCore.WebexPlugin.extend({
|
|
|
107
107
|
updatePracticeSessionStatus: function updatePracticeSessionStatus(payload) {
|
|
108
108
|
this.set('practiceSessionEnabled', payload.enabled);
|
|
109
109
|
},
|
|
110
|
-
version: "3.7.0-next.
|
|
110
|
+
version: "3.7.0-next.11"
|
|
111
111
|
});
|
|
112
112
|
var _default = exports.default = Webinar;
|
|
113
113
|
//# sourceMappingURL=index.js.map
|
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.7.0-next.
|
|
46
|
+
"@webex/plugin-meetings": "3.7.0-next.11",
|
|
47
47
|
"@webex/plugin-rooms": "3.7.0-next.4",
|
|
48
48
|
"@webex/test-helper-chai": "3.7.0-next.2",
|
|
49
49
|
"@webex/test-helper-mocha": "3.7.0-next.2",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@webex/internal-plugin-metrics": "3.7.0-next.2",
|
|
71
71
|
"@webex/internal-plugin-support": "3.7.0-next.5",
|
|
72
72
|
"@webex/internal-plugin-user": "3.7.0-next.2",
|
|
73
|
-
"@webex/internal-plugin-voicea": "3.7.0-next.
|
|
73
|
+
"@webex/internal-plugin-voicea": "3.7.0-next.11",
|
|
74
74
|
"@webex/media-helpers": "3.7.0-next.2",
|
|
75
75
|
"@webex/plugin-people": "3.7.0-next.2",
|
|
76
76
|
"@webex/plugin-rooms": "3.7.0-next.4",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"//": [
|
|
92
92
|
"TODO: upgrade jwt-decode when moving to node 18"
|
|
93
93
|
],
|
|
94
|
-
"version": "3.7.0-next.
|
|
94
|
+
"version": "3.7.0-next.11"
|
|
95
95
|
}
|
package/src/config.ts
CHANGED
|
@@ -96,6 +96,6 @@ export default {
|
|
|
96
96
|
iceCandidatesGatheringTimeout: undefined,
|
|
97
97
|
backendIpv6NativeSupport: false,
|
|
98
98
|
reachabilityGetClusterTimeout: 5000,
|
|
99
|
-
logUploadIntervalMultiplicationFactor: 0, // if set to 0 or undefined, logs won't be uploaded periodically
|
|
99
|
+
logUploadIntervalMultiplicationFactor: 0, // if set to 0 or undefined, logs won't be uploaded periodically, if you want periodic logs, recommended value is 1
|
|
100
100
|
},
|
|
101
101
|
};
|
package/src/meeting/index.ts
CHANGED
|
@@ -4099,10 +4099,11 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
4099
4099
|
*/
|
|
4100
4100
|
private setLogUploadTimer() {
|
|
4101
4101
|
// start with short timeouts and increase them later on so in case users have very long multi-hour meetings we don't get too fragmented logs
|
|
4102
|
-
const LOG_UPLOAD_INTERVALS = [0.1,
|
|
4102
|
+
const LOG_UPLOAD_INTERVALS = [0.1, 15, 30, 60]; // in minutes
|
|
4103
4103
|
|
|
4104
4104
|
const delay =
|
|
4105
4105
|
1000 *
|
|
4106
|
+
60 *
|
|
4106
4107
|
// @ts-ignore - config coming from registerPlugin
|
|
4107
4108
|
this.config.logUploadIntervalMultiplicationFactor *
|
|
4108
4109
|
LOG_UPLOAD_INTERVALS[this.logUploadIntervalIndex];
|
|
@@ -2492,9 +2492,11 @@ describe('plugin-meetings', () => {
|
|
|
2492
2492
|
mediaSettings: {},
|
|
2493
2493
|
});
|
|
2494
2494
|
|
|
2495
|
-
const checkLogCounter = (
|
|
2495
|
+
const checkLogCounter = (delayInMinutes, expectedCounter) => {
|
|
2496
|
+
const delayInMilliseconds = delayInMinutes * 60 * 1000;
|
|
2497
|
+
|
|
2496
2498
|
// first check that the counter is not increased just before the delay
|
|
2497
|
-
clock.tick(
|
|
2499
|
+
clock.tick(delayInMilliseconds - 50);
|
|
2498
2500
|
assert.equal(logUploadCounter, expectedCounter - 1);
|
|
2499
2501
|
|
|
2500
2502
|
// and now check that it has reached expected value after the delay
|
|
@@ -2502,22 +2504,18 @@ describe('plugin-meetings', () => {
|
|
|
2502
2504
|
assert.equal(logUploadCounter, expectedCounter);
|
|
2503
2505
|
};
|
|
2504
2506
|
|
|
2505
|
-
checkLogCounter(
|
|
2506
|
-
checkLogCounter(
|
|
2507
|
-
checkLogCounter(
|
|
2508
|
-
checkLogCounter(
|
|
2509
|
-
checkLogCounter(
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
checkLogCounter(60000, 8);
|
|
2513
|
-
checkLogCounter(60000, 9);
|
|
2514
|
-
checkLogCounter(60000, 10);
|
|
2515
|
-
|
|
2516
|
-
// simulate media connection being removed -> no more log uploads should happen
|
|
2507
|
+
checkLogCounter(0.1, 1);
|
|
2508
|
+
checkLogCounter(15, 2);
|
|
2509
|
+
checkLogCounter(30, 3);
|
|
2510
|
+
checkLogCounter(60, 4);
|
|
2511
|
+
checkLogCounter(60, 5);
|
|
2512
|
+
|
|
2513
|
+
// simulate media connection being removed -> 1 more upload should happen, but nothing more afterwards
|
|
2517
2514
|
meeting.mediaProperties.webrtcMediaConnection = undefined;
|
|
2515
|
+
checkLogCounter(60, 6);
|
|
2518
2516
|
|
|
2519
|
-
clock.tick(
|
|
2520
|
-
assert.equal(logUploadCounter,
|
|
2517
|
+
clock.tick(120*1000*60);
|
|
2518
|
+
assert.equal(logUploadCounter, 6);
|
|
2521
2519
|
|
|
2522
2520
|
clock.restore();
|
|
2523
2521
|
});
|