@webex/plugin-meetings 3.3.1-next.30 → 3.3.1-next.32
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 +96 -63
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +21 -21
- package/src/meeting/index.ts +34 -1
- package/test/unit/spec/meeting/index.js +84 -8
package/dist/breakouts/index.js
CHANGED
|
@@ -1046,7 +1046,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
|
1046
1046
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
|
1047
1047
|
}
|
|
1048
1048
|
},
|
|
1049
|
-
version: "3.3.1-next.
|
|
1049
|
+
version: "3.3.1-next.32"
|
|
1050
1050
|
});
|
|
1051
1051
|
var _default = exports.default = Breakouts;
|
|
1052
1052
|
//# sourceMappingURL=index.js.map
|
|
@@ -373,7 +373,7 @@ var SimultaneousInterpretation = _webexCore.WebexPlugin.extend({
|
|
|
373
373
|
throw error;
|
|
374
374
|
});
|
|
375
375
|
},
|
|
376
|
-
version: "3.3.1-next.
|
|
376
|
+
version: "3.3.1-next.32"
|
|
377
377
|
});
|
|
378
378
|
var _default = exports.default = SimultaneousInterpretation;
|
|
379
379
|
//# sourceMappingURL=index.js.map
|
|
@@ -18,7 +18,7 @@ var SILanguage = _webexCore.WebexPlugin.extend({
|
|
|
18
18
|
languageCode: 'number',
|
|
19
19
|
languageName: 'string'
|
|
20
20
|
},
|
|
21
|
-
version: "3.3.1-next.
|
|
21
|
+
version: "3.3.1-next.32"
|
|
22
22
|
});
|
|
23
23
|
var _default = exports.default = SILanguage;
|
|
24
24
|
//# sourceMappingURL=siLanguage.js.map
|
package/dist/meeting/index.js
CHANGED
|
@@ -747,7 +747,23 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
747
747
|
}
|
|
748
748
|
}), {
|
|
749
749
|
logText: "".concat(LOG_HEADER, " Roap Offer")
|
|
750
|
-
}).catch(function () {
|
|
750
|
+
}).catch(function (error) {
|
|
751
|
+
// @ts-ignore
|
|
752
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
753
|
+
name: 'client.media-engine.remote-sdp-received',
|
|
754
|
+
payload: {
|
|
755
|
+
canProceed: false,
|
|
756
|
+
errors: [
|
|
757
|
+
// @ts-ignore
|
|
758
|
+
_this.webex.internal.newMetrics.callDiagnosticMetrics.getErrorPayloadForClientErrorCode({
|
|
759
|
+
clientErrorCode: _internalPluginMetrics.CALL_DIAGNOSTIC_CONFIG.MISSING_ROAP_ANSWER_CLIENT_CODE
|
|
760
|
+
})]
|
|
761
|
+
},
|
|
762
|
+
options: {
|
|
763
|
+
meetingId: _this.id,
|
|
764
|
+
rawError: error
|
|
765
|
+
}
|
|
766
|
+
});
|
|
751
767
|
_this.deferSDPAnswer.reject(new Error('failed to send ROAP SDP offer'));
|
|
752
768
|
clearTimeout(_this.sdpResponseTimer);
|
|
753
769
|
_this.sdpResponseTimer = undefined;
|
|
@@ -6288,6 +6304,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6288
6304
|
*/
|
|
6289
6305
|
function () {
|
|
6290
6306
|
var _waitForRemoteSDPAnswer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
|
|
6307
|
+
var _this39 = this;
|
|
6291
6308
|
var LOG_HEADER, deferSDPAnswer;
|
|
6292
6309
|
return _regenerator.default.wrap(function _callee24$(_context24) {
|
|
6293
6310
|
while (1) switch (_context24.prev = _context24.next) {
|
|
@@ -6303,6 +6320,22 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6303
6320
|
deferSDPAnswer = this.deferSDPAnswer;
|
|
6304
6321
|
this.sdpResponseTimer = setTimeout(function () {
|
|
6305
6322
|
_loggerProxy.default.logger.warn("".concat(LOG_HEADER, " timeout! no REMOTE SDP ANSWER received within ").concat(_constants.ROAP_OFFER_ANSWER_EXCHANGE_TIMEOUT / 1000, " seconds"));
|
|
6323
|
+
// @ts-ignore
|
|
6324
|
+
_this39.webex.internal.newMetrics.submitClientEvent({
|
|
6325
|
+
name: 'client.media-engine.remote-sdp-received',
|
|
6326
|
+
payload: {
|
|
6327
|
+
canProceed: false,
|
|
6328
|
+
errors: [
|
|
6329
|
+
// @ts-ignore
|
|
6330
|
+
_this39.webex.internal.newMetrics.callDiagnosticMetrics.getErrorPayloadForClientErrorCode({
|
|
6331
|
+
clientErrorCode: _internalPluginMetrics.CALL_DIAGNOSTIC_CONFIG.MISSING_ROAP_ANSWER_CLIENT_CODE
|
|
6332
|
+
})]
|
|
6333
|
+
},
|
|
6334
|
+
options: {
|
|
6335
|
+
meetingId: _this39.id,
|
|
6336
|
+
rawError: new Error('Timeout waiting for SDP answer')
|
|
6337
|
+
}
|
|
6338
|
+
});
|
|
6306
6339
|
deferSDPAnswer.reject(new Error('Timed out waiting for REMOTE SDP ANSWER'));
|
|
6307
6340
|
}, _constants.ROAP_OFFER_ANSWER_EXCHANGE_TIMEOUT);
|
|
6308
6341
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " waiting for REMOTE SDP ANSWER..."));
|
|
@@ -6995,7 +7028,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
6995
7028
|
* @memberof Meeting
|
|
6996
7029
|
*/
|
|
6997
7030
|
function enqueueMediaUpdate(mediaUpdateType) {
|
|
6998
|
-
var
|
|
7031
|
+
var _this40 = this;
|
|
6999
7032
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
7000
7033
|
var canUpdateMediaNow = this.canUpdateMedia();
|
|
7001
7034
|
return new _promise.default(function (resolve, reject) {
|
|
@@ -7006,9 +7039,9 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7006
7039
|
options: options
|
|
7007
7040
|
};
|
|
7008
7041
|
_loggerProxy.default.logger.log("Meeting:index#enqueueMediaUpdate --> enqueuing media update type=".concat(mediaUpdateType));
|
|
7009
|
-
|
|
7042
|
+
_this40.queuedMediaUpdates.push(queueItem);
|
|
7010
7043
|
if (canUpdateMediaNow) {
|
|
7011
|
-
|
|
7044
|
+
_this40.processNextQueuedMediaUpdate();
|
|
7012
7045
|
}
|
|
7013
7046
|
});
|
|
7014
7047
|
}
|
|
@@ -7113,7 +7146,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7113
7146
|
}, {
|
|
7114
7147
|
key: "acknowledge",
|
|
7115
7148
|
value: function acknowledge(type) {
|
|
7116
|
-
var
|
|
7149
|
+
var _this41 = this;
|
|
7117
7150
|
if (!type) {
|
|
7118
7151
|
return _promise.default.reject(new _parameter.default('Type must be set to acknowledge the meeting.'));
|
|
7119
7152
|
}
|
|
@@ -7125,12 +7158,12 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7125
7158
|
}).then(function (response) {
|
|
7126
7159
|
return _promise.default.resolve(response);
|
|
7127
7160
|
}).then(function (response) {
|
|
7128
|
-
|
|
7161
|
+
_this41.meetingFiniteStateMachine.ring(type);
|
|
7129
7162
|
// @ts-ignore
|
|
7130
|
-
|
|
7163
|
+
_this41.webex.internal.newMetrics.submitClientEvent({
|
|
7131
7164
|
name: 'client.alert.displayed',
|
|
7132
7165
|
options: {
|
|
7133
|
-
meetingId:
|
|
7166
|
+
meetingId: _this41.id
|
|
7134
7167
|
}
|
|
7135
7168
|
});
|
|
7136
7169
|
return _promise.default.resolve({
|
|
@@ -7155,12 +7188,12 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7155
7188
|
}, {
|
|
7156
7189
|
key: "decline",
|
|
7157
7190
|
value: function decline(reason) {
|
|
7158
|
-
var
|
|
7191
|
+
var _this42 = this;
|
|
7159
7192
|
return _util2.default.declineMeeting(this, reason).then(function (decline) {
|
|
7160
|
-
|
|
7193
|
+
_this42.meetingFiniteStateMachine.decline();
|
|
7161
7194
|
return _promise.default.resolve(decline);
|
|
7162
7195
|
}).catch(function (error) {
|
|
7163
|
-
|
|
7196
|
+
_this42.meetingFiniteStateMachine.fail(error);
|
|
7164
7197
|
return _promise.default.reject(error);
|
|
7165
7198
|
});
|
|
7166
7199
|
}
|
|
@@ -7211,7 +7244,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7211
7244
|
}, {
|
|
7212
7245
|
key: "leave",
|
|
7213
7246
|
value: function leave() {
|
|
7214
|
-
var
|
|
7247
|
+
var _this43 = this;
|
|
7215
7248
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7216
7249
|
var leaveReason = options.reason || _constants.MEETING_REMOVED_REASON.CLIENT_LEAVE_REQUEST;
|
|
7217
7250
|
|
|
@@ -7223,7 +7256,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7223
7256
|
var payload = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7224
7257
|
return (
|
|
7225
7258
|
// @ts-ignore
|
|
7226
|
-
|
|
7259
|
+
_this43.webex.internal.newMetrics.submitClientEvent({
|
|
7227
7260
|
name: 'client.call.leave',
|
|
7228
7261
|
payload: _objectSpread({
|
|
7229
7262
|
trigger: 'user-interaction',
|
|
@@ -7231,7 +7264,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7231
7264
|
leaveReason: options.clientEventLeaveReason
|
|
7232
7265
|
}, payload),
|
|
7233
7266
|
options: {
|
|
7234
|
-
meetingId:
|
|
7267
|
+
meetingId: _this43.id
|
|
7235
7268
|
}
|
|
7236
7269
|
})
|
|
7237
7270
|
);
|
|
@@ -7240,24 +7273,24 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7240
7273
|
return _util2.default.leaveMeeting(this, options).then(function (leave) {
|
|
7241
7274
|
// CA team recommends submitting this *after* locus /leave
|
|
7242
7275
|
submitLeaveMetric();
|
|
7243
|
-
|
|
7244
|
-
|
|
7276
|
+
_this43.meetingFiniteStateMachine.leave();
|
|
7277
|
+
_this43.clearMeetingData();
|
|
7245
7278
|
|
|
7246
7279
|
// upload logs on leave irrespective of meeting delete
|
|
7247
|
-
_triggerProxy.default.trigger(
|
|
7280
|
+
_triggerProxy.default.trigger(_this43, {
|
|
7248
7281
|
file: 'meeting/index',
|
|
7249
7282
|
function: 'leave'
|
|
7250
|
-
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS,
|
|
7283
|
+
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS, _this43);
|
|
7251
7284
|
|
|
7252
7285
|
// TODO: more testing before we remove this code, we are not sure the scenarios for destroy here
|
|
7253
|
-
if (
|
|
7286
|
+
if (_this43.wirelessShare || _this43.guest) {
|
|
7254
7287
|
// If screen sharing clean the meeting object
|
|
7255
|
-
_triggerProxy.default.trigger(
|
|
7288
|
+
_triggerProxy.default.trigger(_this43, {
|
|
7256
7289
|
file: 'meeting/index',
|
|
7257
7290
|
function: 'leave'
|
|
7258
7291
|
}, _constants.EVENTS.DESTROY_MEETING, {
|
|
7259
7292
|
reason: options.reason,
|
|
7260
|
-
meetingId:
|
|
7293
|
+
meetingId: _this43.id
|
|
7261
7294
|
});
|
|
7262
7295
|
}
|
|
7263
7296
|
_loggerProxy.default.logger.log('Meeting:index#leave --> LEAVE REASON ', leaveReason);
|
|
@@ -7274,16 +7307,16 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7274
7307
|
shownToUser: false
|
|
7275
7308
|
}]
|
|
7276
7309
|
});
|
|
7277
|
-
|
|
7310
|
+
_this43.meetingFiniteStateMachine.fail(error);
|
|
7278
7311
|
_loggerProxy.default.logger.error('Meeting:index#leave --> Failed to leave ', error);
|
|
7279
7312
|
// upload logs on leave irrespective of meeting delete
|
|
7280
|
-
_triggerProxy.default.trigger(
|
|
7313
|
+
_triggerProxy.default.trigger(_this43, {
|
|
7281
7314
|
file: 'meeting/index',
|
|
7282
7315
|
function: 'leave'
|
|
7283
|
-
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS,
|
|
7316
|
+
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS, _this43);
|
|
7284
7317
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_LEAVE_FAILURE, {
|
|
7285
|
-
correlation_id:
|
|
7286
|
-
locus_id:
|
|
7318
|
+
correlation_id: _this43.correlationId,
|
|
7319
|
+
locus_id: _this43.locusUrl.split('/').pop(),
|
|
7287
7320
|
reason: error.message,
|
|
7288
7321
|
stack: error.stack,
|
|
7289
7322
|
code: error.code
|
|
@@ -7303,7 +7336,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7303
7336
|
}, {
|
|
7304
7337
|
key: "startWhiteboardShare",
|
|
7305
7338
|
value: function startWhiteboardShare(channelUrl, resourceToken) {
|
|
7306
|
-
var
|
|
7339
|
+
var _this44 = this;
|
|
7307
7340
|
var whiteboard = this.locusInfo.mediaShares.find(function (element) {
|
|
7308
7341
|
return element.name === 'whiteboard';
|
|
7309
7342
|
});
|
|
@@ -7332,13 +7365,13 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7332
7365
|
body.resourceToken = resourceToken;
|
|
7333
7366
|
}
|
|
7334
7367
|
return this.meetingRequest.changeMeetingFloor(body).then(function () {
|
|
7335
|
-
|
|
7368
|
+
_this44.screenShareFloorState = ScreenShareFloorStatus.RELEASED;
|
|
7336
7369
|
return _promise.default.resolve();
|
|
7337
7370
|
}).catch(function (error) {
|
|
7338
7371
|
_loggerProxy.default.logger.error('Meeting:index#startWhiteboardShare --> Error ', error);
|
|
7339
7372
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_START_WHITEBOARD_SHARE_FAILURE, {
|
|
7340
|
-
correlation_id:
|
|
7341
|
-
locus_id:
|
|
7373
|
+
correlation_id: _this44.correlationId,
|
|
7374
|
+
locus_id: _this44.locusUrl.split('/').pop(),
|
|
7342
7375
|
reason: error.message,
|
|
7343
7376
|
stack: error.stack,
|
|
7344
7377
|
board: {
|
|
@@ -7361,7 +7394,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7361
7394
|
}, {
|
|
7362
7395
|
key: "stopWhiteboardShare",
|
|
7363
7396
|
value: function stopWhiteboardShare(channelUrl) {
|
|
7364
|
-
var
|
|
7397
|
+
var _this45 = this;
|
|
7365
7398
|
var whiteboard = this.locusInfo.mediaShares.find(function (element) {
|
|
7366
7399
|
return element.name === 'whiteboard';
|
|
7367
7400
|
});
|
|
@@ -7384,8 +7417,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7384
7417
|
}).catch(function (error) {
|
|
7385
7418
|
_loggerProxy.default.logger.error('Meeting:index#stopWhiteboardShare --> Error ', error);
|
|
7386
7419
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_STOP_WHITEBOARD_SHARE_FAILURE, {
|
|
7387
|
-
correlation_id:
|
|
7388
|
-
locus_id:
|
|
7420
|
+
correlation_id: _this45.correlationId,
|
|
7421
|
+
locus_id: _this45.locusUrl.split('/').pop(),
|
|
7389
7422
|
reason: error.message,
|
|
7390
7423
|
stack: error.stack,
|
|
7391
7424
|
board: {
|
|
@@ -7407,7 +7440,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7407
7440
|
}, {
|
|
7408
7441
|
key: "requestScreenShareFloor",
|
|
7409
7442
|
value: function requestScreenShareFloor() {
|
|
7410
|
-
var
|
|
7443
|
+
var _this46 = this;
|
|
7411
7444
|
if (!this.mediaProperties.hasLocalShareStream() || !this.mediaProperties.mediaDirection.sendShare) {
|
|
7412
7445
|
_loggerProxy.default.logger.log("Meeting:index#requestScreenShareFloor --> NOT requesting floor, because we don't have the share stream anymore (shareStream=".concat(this.mediaProperties.shareVideoStream ? 'yes' : 'no', ", sendShare=").concat(this.mediaProperties.mediaDirection.sendShare, ")"));
|
|
7413
7446
|
this.screenShareFloorState = ScreenShareFloorStatus.RELEASED;
|
|
@@ -7438,34 +7471,34 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7438
7471
|
resourceUrl: this.resourceUrl,
|
|
7439
7472
|
shareInstanceId: this.localShareInstanceId
|
|
7440
7473
|
}).then(function () {
|
|
7441
|
-
|
|
7474
|
+
_this46.screenShareFloorState = ScreenShareFloorStatus.GRANTED;
|
|
7442
7475
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_SHARE_SUCCESS, {
|
|
7443
|
-
correlation_id:
|
|
7444
|
-
locus_id:
|
|
7476
|
+
correlation_id: _this46.correlationId,
|
|
7477
|
+
locus_id: _this46.locusUrl.split('/').pop()
|
|
7445
7478
|
});
|
|
7446
7479
|
return _promise.default.resolve();
|
|
7447
7480
|
}).catch(function (error) {
|
|
7448
7481
|
_loggerProxy.default.logger.error('Meeting:index#share --> Error ', error);
|
|
7449
7482
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_SHARE_FAILURE, {
|
|
7450
|
-
correlation_id:
|
|
7451
|
-
locus_id:
|
|
7483
|
+
correlation_id: _this46.correlationId,
|
|
7484
|
+
locus_id: _this46.locusUrl.split('/').pop(),
|
|
7452
7485
|
reason: error.message,
|
|
7453
7486
|
stack: error.stack
|
|
7454
7487
|
});
|
|
7455
7488
|
|
|
7456
7489
|
// @ts-ignore
|
|
7457
|
-
|
|
7490
|
+
_this46.webex.internal.newMetrics.submitClientEvent({
|
|
7458
7491
|
name: 'client.share.floor-granted.local',
|
|
7459
7492
|
payload: {
|
|
7460
7493
|
mediaType: 'share',
|
|
7461
7494
|
errors: _util2.default.getChangeMeetingFloorErrorPayload(error.message),
|
|
7462
|
-
shareInstanceId:
|
|
7495
|
+
shareInstanceId: _this46.localShareInstanceId
|
|
7463
7496
|
},
|
|
7464
7497
|
options: {
|
|
7465
|
-
meetingId:
|
|
7498
|
+
meetingId: _this46.id
|
|
7466
7499
|
}
|
|
7467
7500
|
});
|
|
7468
|
-
|
|
7501
|
+
_this46.screenShareFloorState = ScreenShareFloorStatus.RELEASED;
|
|
7469
7502
|
return _promise.default.reject(error);
|
|
7470
7503
|
});
|
|
7471
7504
|
}
|
|
@@ -7488,10 +7521,10 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7488
7521
|
}, {
|
|
7489
7522
|
key: "requestScreenShareFloorIfPending",
|
|
7490
7523
|
value: function requestScreenShareFloorIfPending() {
|
|
7491
|
-
var
|
|
7524
|
+
var _this47 = this;
|
|
7492
7525
|
if (this.floorGrantPending && this.state === _constants.MEETING_STATE.STATES.JOINED) {
|
|
7493
7526
|
this.requestScreenShareFloor().then(function () {
|
|
7494
|
-
|
|
7527
|
+
_this47.floorGrantPending = false;
|
|
7495
7528
|
});
|
|
7496
7529
|
}
|
|
7497
7530
|
}
|
|
@@ -7505,7 +7538,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7505
7538
|
}, {
|
|
7506
7539
|
key: "releaseScreenShareFloor",
|
|
7507
7540
|
value: function releaseScreenShareFloor() {
|
|
7508
|
-
var
|
|
7541
|
+
var _this48 = this;
|
|
7509
7542
|
var content = this.locusInfo.mediaShares.find(function (element) {
|
|
7510
7543
|
return element.name === _constants.CONTENT;
|
|
7511
7544
|
});
|
|
@@ -7540,8 +7573,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7540
7573
|
}).catch(function (error) {
|
|
7541
7574
|
_loggerProxy.default.logger.error('Meeting:index#releaseScreenShareFloor --> Error ', error);
|
|
7542
7575
|
_metrics.default.sendBehavioralMetric(_constants2.default.STOP_FLOOR_REQUEST_FAILURE, {
|
|
7543
|
-
correlation_id:
|
|
7544
|
-
locus_id:
|
|
7576
|
+
correlation_id: _this48.correlationId,
|
|
7577
|
+
locus_id: _this48.locusUrl.split('/').pop(),
|
|
7545
7578
|
reason: error.message,
|
|
7546
7579
|
stack: error.stack
|
|
7547
7580
|
});
|
|
@@ -7720,7 +7753,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7720
7753
|
}, {
|
|
7721
7754
|
key: "changeVideoLayout",
|
|
7722
7755
|
value: function changeVideoLayout(layoutType) {
|
|
7723
|
-
var
|
|
7756
|
+
var _this49 = this;
|
|
7724
7757
|
var renderInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
7725
7758
|
var main = renderInfo.main,
|
|
7726
7759
|
content = renderInfo.content;
|
|
@@ -7774,7 +7807,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7774
7807
|
}
|
|
7775
7808
|
this.lastVideoLayoutInfo = (0, _lodash.cloneDeep)(layoutInfo);
|
|
7776
7809
|
this.locusInfo.once(_constants.LOCUSINFO.EVENTS.CONTROLS_MEETING_LAYOUT_UPDATED, function (envelope) {
|
|
7777
|
-
_triggerProxy.default.trigger(
|
|
7810
|
+
_triggerProxy.default.trigger(_this49, {
|
|
7778
7811
|
file: 'meeting/index',
|
|
7779
7812
|
function: 'changeVideoLayout'
|
|
7780
7813
|
}, _constants.EVENT_TRIGGERS.MEETING_CONTROLS_LAYOUT_UPDATE, {
|
|
@@ -7890,7 +7923,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7890
7923
|
}, {
|
|
7891
7924
|
key: "endMeetingForAll",
|
|
7892
7925
|
value: function endMeetingForAll() {
|
|
7893
|
-
var
|
|
7926
|
+
var _this50 = this;
|
|
7894
7927
|
// @ts-ignore
|
|
7895
7928
|
this.webex.internal.newMetrics.submitClientEvent({
|
|
7896
7929
|
name: 'client.call.leave',
|
|
@@ -7908,25 +7941,25 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7908
7941
|
locus_id: this.locusId
|
|
7909
7942
|
});
|
|
7910
7943
|
return _util2.default.endMeetingForAll(this).then(function (end) {
|
|
7911
|
-
|
|
7912
|
-
|
|
7944
|
+
_this50.meetingFiniteStateMachine.end();
|
|
7945
|
+
_this50.clearMeetingData();
|
|
7913
7946
|
// upload logs on leave irrespective of meeting delete
|
|
7914
|
-
_triggerProxy.default.trigger(
|
|
7947
|
+
_triggerProxy.default.trigger(_this50, {
|
|
7915
7948
|
file: 'meeting/index',
|
|
7916
7949
|
function: 'endMeetingForAll'
|
|
7917
|
-
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS,
|
|
7950
|
+
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS, _this50);
|
|
7918
7951
|
return end;
|
|
7919
7952
|
}).catch(function (error) {
|
|
7920
|
-
|
|
7953
|
+
_this50.meetingFiniteStateMachine.fail(error);
|
|
7921
7954
|
_loggerProxy.default.logger.error('Meeting:index#endMeetingForAll --> Failed to end meeting ', error);
|
|
7922
7955
|
// upload logs on leave irrespective of meeting delete
|
|
7923
|
-
_triggerProxy.default.trigger(
|
|
7956
|
+
_triggerProxy.default.trigger(_this50, {
|
|
7924
7957
|
file: 'meeting/index',
|
|
7925
7958
|
function: 'endMeetingForAll'
|
|
7926
|
-
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS,
|
|
7959
|
+
}, _constants.EVENTS.REQUEST_UPLOAD_LOGS, _this50);
|
|
7927
7960
|
_metrics.default.sendBehavioralMetric(_constants2.default.MEETING_END_ALL_FAILURE, {
|
|
7928
|
-
correlation_id:
|
|
7929
|
-
locus_id:
|
|
7961
|
+
correlation_id: _this50.correlationId,
|
|
7962
|
+
locus_id: _this50.locusUrl.split('/').pop(),
|
|
7930
7963
|
reason: error.message,
|
|
7931
7964
|
stack: error.stack,
|
|
7932
7965
|
code: error.code
|
|
@@ -8068,7 +8101,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
8068
8101
|
_this$mediaProperties41,
|
|
8069
8102
|
_this$mediaProperties42,
|
|
8070
8103
|
_this$mediaProperties43,
|
|
8071
|
-
|
|
8104
|
+
_this51 = this;
|
|
8072
8105
|
var LOG_HEADER = 'Meeting:index#updateTranscodedMediaConnection -->';
|
|
8073
8106
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " starting"));
|
|
8074
8107
|
if (!this.canUpdateMedia()) {
|
|
@@ -8093,8 +8126,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
8093
8126
|
}).catch(function (error) {
|
|
8094
8127
|
_loggerProxy.default.logger.error("".concat(LOG_HEADER, " Error: "), error);
|
|
8095
8128
|
_metrics.default.sendBehavioralMetric(_constants2.default.UPDATE_MEDIA_FAILURE, {
|
|
8096
|
-
correlation_id:
|
|
8097
|
-
locus_id:
|
|
8129
|
+
correlation_id: _this51.correlationId,
|
|
8130
|
+
locus_id: _this51.locusUrl.split('/').pop(),
|
|
8098
8131
|
reason: error.message,
|
|
8099
8132
|
stack: error.stack
|
|
8100
8133
|
});
|