@webex/plugin-meetings 1.151.3 → 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/dist/meeting/index.js +12 -5
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting-info/index.js +5 -0
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meetings/index.js +8 -5
- package/dist/meetings/index.js.map +1 -1
- package/dist/personal-meeting-room/index.js +6 -9
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/package.json +5 -5
- package/src/meeting/index.js +11 -6
- package/src/meeting-info/index.js +6 -1
- package/src/meetings/index.js +4 -2
- package/src/personal-meeting-room/index.js +5 -6
- package/test/unit/spec/meeting/index.js +11 -0
- package/test/unit/spec/meeting-info/meetinginfov2.js +19 -2
- package/test/unit/spec/meeting-info/utilv2.js +15 -0
- package/test/unit/spec/personal-meeting-room/personal-meeting-room.js +33 -0
package/dist/meeting/index.js
CHANGED
|
@@ -527,6 +527,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
527
527
|
sendVideo: devicePermissions.sendVideo,
|
|
528
528
|
isSharing: _this.shareStatus === _constants.SHARE_STATUS.LOCAL_SHARE_ACTIVE
|
|
529
529
|
}), audioVideo, sharePreferences, _this.config).catch(function (error) {
|
|
530
|
+
var _this$locusUrl;
|
|
531
|
+
|
|
530
532
|
// Whenever there is a failure when trying to access a user's device
|
|
531
533
|
// report it as an operational metric
|
|
532
534
|
// This gives visibility into common errors and can help
|
|
@@ -534,7 +536,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
534
536
|
var metricName = _constants.METRICS_OPERATIONAL_MEASURES.GET_USER_MEDIA_FAILURE;
|
|
535
537
|
var data = {
|
|
536
538
|
correlation_id: _this.correlationId,
|
|
537
|
-
locus_id: _this.locusUrl.split('/').pop(),
|
|
539
|
+
locus_id: (_this$locusUrl = _this.locusUrl) === null || _this$locusUrl === void 0 ? void 0 : _this$locusUrl.split('/').pop(),
|
|
538
540
|
reason: error.message,
|
|
539
541
|
stack: error.stack
|
|
540
542
|
};
|
|
@@ -1114,6 +1116,7 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1114
1116
|
|
|
1115
1117
|
_this.locusInfo.init(attrs.locus ? attrs.locus : {});
|
|
1116
1118
|
|
|
1119
|
+
_this.isCreated = true;
|
|
1117
1120
|
return _this;
|
|
1118
1121
|
}
|
|
1119
1122
|
/**
|
|
@@ -3635,13 +3638,17 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
3635
3638
|
joinSuccess = resolve;
|
|
3636
3639
|
});
|
|
3637
3640
|
|
|
3638
|
-
|
|
3641
|
+
if (this.isCreated) {
|
|
3642
|
+
this.isCreated = false;
|
|
3643
|
+
} else {
|
|
3644
|
+
_loggerProxy.default.logger.log("Meeting:index#join --> Generating a new correlation id for meeting ".concat(this.id));
|
|
3639
3645
|
|
|
3640
|
-
|
|
3646
|
+
_loggerProxy.default.logger.log("Meeting:index#join --> Previous correlation id ".concat(this.correlationId));
|
|
3641
3647
|
|
|
3642
|
-
|
|
3648
|
+
this.setCorrelationId(_uuid.default.v4());
|
|
3643
3649
|
|
|
3644
|
-
|
|
3650
|
+
_loggerProxy.default.logger.log("Meeting:index#join --> New correlation id ".concat(this.correlationId));
|
|
3651
|
+
}
|
|
3645
3652
|
|
|
3646
3653
|
if (options.rejoin) {
|
|
3647
3654
|
this.meetingFiniteStateMachine.reset();
|