@webex/plugin-meetings 1.151.6 → 1.151.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/plugin-meetings",
|
|
3
|
-
"version": "1.151.
|
|
3
|
+
"version": "1.151.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime-corejs2": "^7.14.8",
|
|
27
|
-
"@webex/webex-core": "1.151.
|
|
28
|
-
"@webex/internal-plugin-mercury": "1.151.
|
|
27
|
+
"@webex/webex-core": "1.151.7",
|
|
28
|
+
"@webex/internal-plugin-mercury": "1.151.7",
|
|
29
29
|
"webrtc-adapter": "^7.7.0",
|
|
30
30
|
"lodash": "^4.17.21",
|
|
31
31
|
"uuid": "^3.3.2",
|
|
32
32
|
"global": "^4.4.0",
|
|
33
33
|
"ip-anonymize": "^0.1.0",
|
|
34
|
-
"@webex/common": "1.151.
|
|
34
|
+
"@webex/common": "1.151.7",
|
|
35
35
|
"bowser": "^2.11.0",
|
|
36
36
|
"sdp-transform": "^2.12.0",
|
|
37
37
|
"readable-stream": "^3.6.0",
|
|
38
|
-
"@webex/common-timers": "1.151.
|
|
38
|
+
"@webex/common-timers": "1.151.7",
|
|
39
39
|
"btoa": "^1.2.1",
|
|
40
40
|
"javascript-state-machine": "^3.1.0",
|
|
41
41
|
"envify": "^4.1.0"
|
package/src/meeting/index.js
CHANGED
|
@@ -848,6 +848,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
848
848
|
|
|
849
849
|
this.setUpLocusInfoListeners();
|
|
850
850
|
this.locusInfo.init(attrs.locus ? attrs.locus : {});
|
|
851
|
+
this.isCreated = true;
|
|
851
852
|
}
|
|
852
853
|
|
|
853
854
|
/**
|
|
@@ -3325,11 +3326,15 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
3325
3326
|
joinSuccess = resolve;
|
|
3326
3327
|
});
|
|
3327
3328
|
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3329
|
+
if (this.isCreated) {
|
|
3330
|
+
this.isCreated = false;
|
|
3331
|
+
}
|
|
3332
|
+
else {
|
|
3333
|
+
LoggerProxy.logger.log(`Meeting:index#join --> Generating a new correlation id for meeting ${this.id}`);
|
|
3334
|
+
LoggerProxy.logger.log(`Meeting:index#join --> Previous correlation id ${this.correlationId}`);
|
|
3335
|
+
this.setCorrelationId(uuid.v4());
|
|
3336
|
+
LoggerProxy.logger.log(`Meeting:index#join --> New correlation id ${this.correlationId}`);
|
|
3337
|
+
}
|
|
3333
3338
|
|
|
3334
3339
|
if (options.rejoin) {
|
|
3335
3340
|
this.meetingFiniteStateMachine.reset();
|
|
@@ -625,6 +625,17 @@ describe('plugin-meetings', () => {
|
|
|
625
625
|
await meeting.join({receiveTranscription: true});
|
|
626
626
|
assert.calledOnce(meeting.receiveTranscription);
|
|
627
627
|
});
|
|
628
|
+
|
|
629
|
+
it('should not create new correlation ID on join immediately after create', async () => {
|
|
630
|
+
await meeting.join();
|
|
631
|
+
sinon.assert.notCalled(meeting.setCorrelationId);
|
|
632
|
+
});
|
|
633
|
+
|
|
634
|
+
it('should create new correlation ID when already joined', async () => {
|
|
635
|
+
meeting.isCreated = false;
|
|
636
|
+
await meeting.join();
|
|
637
|
+
sinon.assert.called(meeting.setCorrelationId);
|
|
638
|
+
});
|
|
628
639
|
});
|
|
629
640
|
describe('failure', () => {
|
|
630
641
|
beforeEach(() => {
|