@webex/plugin-meetings 3.0.0-beta.198 → 3.0.0-beta.199

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.
@@ -209,7 +209,7 @@ var Breakout = _webexCore.WebexPlugin.extend({
209
209
  sessionId: this.sessionId
210
210
  });
211
211
  },
212
- version: "3.0.0-beta.198"
212
+ version: "3.0.0-beta.199"
213
213
  });
214
214
  var _default = Breakout;
215
215
  exports.default = _default;
@@ -1041,7 +1041,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
1041
1041
  this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
1042
1042
  }
1043
1043
  },
1044
- version: "3.0.0-beta.198"
1044
+ version: "3.0.0-beta.199"
1045
1045
  });
1046
1046
  var _default = Breakouts;
1047
1047
  exports.default = _default;
@@ -359,7 +359,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
359
359
  throw error;
360
360
  });
361
361
  },
362
- version: "3.0.0-beta.198"
362
+ version: "3.0.0-beta.199"
363
363
  });
364
364
  var _default = SimultaneousInterpretation;
365
365
  exports.default = _default;
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
18
18
  languageCode: 'number',
19
19
  languageName: 'string'
20
20
  },
21
- version: "3.0.0-beta.198"
21
+ version: "3.0.0-beta.199"
22
22
  });
23
23
  var _default = SILanguage;
24
24
  exports.default = _default;
@@ -137,7 +137,6 @@ var ScreenShareFloorStatus;
137
137
  * @property {String} [meetingQuality.remote]
138
138
  * @property {Boolean} [rejoin]
139
139
  * @property {Boolean} [enableMultistream]
140
- * @property {String} [correlationId]
141
140
  */
142
141
  /**
143
142
  * Recording
@@ -524,7 +523,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
524
523
  _metrics.default.sendBehavioralMetric(metricName, data, metadata);
525
524
  };
526
525
  if (error instanceof _internalMediaCore.Errors.SdpOfferCreationError) {
527
- sendBehavioralMetric(_constants2.default.PEERCONNECTION_FAILURE, error, _this.id);
526
+ sendBehavioralMetric(_constants2.default.PEERCONNECTION_FAILURE, error, _this.correlationId);
528
527
 
529
528
  // @ts-ignore
530
529
  _this.webex.internal.newMetrics.submitClientEvent({
@@ -539,7 +538,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
539
538
  }
540
539
  });
541
540
  } else if (error instanceof _internalMediaCore.Errors.SdpOfferHandlingError || error instanceof _internalMediaCore.Errors.SdpAnswerHandlingError) {
542
- sendBehavioralMetric(_constants2.default.PEERCONNECTION_FAILURE, error, _this.id);
541
+ sendBehavioralMetric(_constants2.default.PEERCONNECTION_FAILURE, error, _this.correlationId);
543
542
 
544
543
  // @ts-ignore
545
544
  _this.webex.internal.newMetrics.submitClientEvent({
@@ -555,7 +554,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
555
554
  });
556
555
  } else if (error instanceof _internalMediaCore.Errors.SdpError) {
557
556
  // this covers also the case of Errors.IceGatheringError which extends Errors.SdpError
558
- sendBehavioralMetric(_constants2.default.INVALID_ICE_CANDIDATE, error, _this.id);
557
+ sendBehavioralMetric(_constants2.default.INVALID_ICE_CANDIDATE, error, _this.correlationId);
559
558
 
560
559
  // @ts-ignore
561
560
  _this.webex.internal.newMetrics.submitClientEvent({
@@ -1086,7 +1085,12 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
1086
1085
  * @public
1087
1086
  * @memberof Meeting
1088
1087
  */
1089
- _this.correlationId = _this.id;
1088
+ if (attrs.correlationId) {
1089
+ _loggerProxy.default.logger.log("Meetings:index#constructor --> Initializing the meeting object with correlation id from app ".concat(_this.correlationId));
1090
+ _this.correlationId = attrs.correlationId;
1091
+ } else {
1092
+ _this.correlationId = _this.id;
1093
+ }
1090
1094
  /**
1091
1095
  * @instance
1092
1096
  * @type {String}
@@ -4425,13 +4429,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
4425
4429
  joinFailed = reject;
4426
4430
  joinSuccess = resolve;
4427
4431
  });
4428
- if (options.correlationId) {
4429
- this.setCorrelationId(options.correlationId);
4430
- _loggerProxy.default.logger.log("Meeting:index#join --> Using a new correlation id from app ".concat(this.correlationId));
4431
- }
4432
4432
  if (!this.hasJoinedOnce) {
4433
4433
  this.hasJoinedOnce = true;
4434
- } else if (!options.correlationId) {
4434
+ } else {
4435
4435
  _loggerProxy.default.logger.log("Meeting:index#join --> Generating a new correlation id for meeting ".concat(this.id));
4436
4436
  _loggerProxy.default.logger.log("Meeting:index#join --> Previous correlation id ".concat(this.correlationId));
4437
4437
  this.setCorrelationId(_uuid.default.v4());