@webex/plugin-meetings 3.0.0-beta.320 → 3.0.0-beta.322
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 +48 -55
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +19 -19
- package/src/meeting/index.ts +60 -68
- package/test/unit/spec/meeting/index.js +44 -46
package/dist/breakouts/index.js
CHANGED
|
@@ -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.
|
|
1044
|
+
version: "3.0.0-beta.322"
|
|
1045
1045
|
});
|
|
1046
1046
|
var _default = Breakouts;
|
|
1047
1047
|
exports.default = _default;
|
package/dist/meeting/index.js
CHANGED
|
@@ -779,22 +779,6 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
779
779
|
_this.reconnect({
|
|
780
780
|
networkDisconnect: true
|
|
781
781
|
});
|
|
782
|
-
// @ts-ignore
|
|
783
|
-
_this.webex.internal.newMetrics.submitClientEvent({
|
|
784
|
-
name: 'client.ice.end',
|
|
785
|
-
payload: {
|
|
786
|
-
canProceed: false,
|
|
787
|
-
icePhase: 'IN_MEETING',
|
|
788
|
-
errors: [
|
|
789
|
-
// @ts-ignore
|
|
790
|
-
_this.webex.internal.newMetrics.callDiagnosticMetrics.getErrorPayloadForClientErrorCode({
|
|
791
|
-
clientErrorCode: _internalPluginMetrics.CALL_DIAGNOSTIC_CONFIG.ICE_FAILURE_CLIENT_CODE
|
|
792
|
-
})]
|
|
793
|
-
},
|
|
794
|
-
options: {
|
|
795
|
-
meetingId: _this.id
|
|
796
|
-
}
|
|
797
|
-
});
|
|
798
782
|
_this.uploadLogs({
|
|
799
783
|
file: 'peer-connection-manager/index',
|
|
800
784
|
function: 'connectionFailed'
|
|
@@ -807,26 +791,32 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
807
791
|
var cdl = _this.webex.internal.newMetrics.callDiagnosticLatencies;
|
|
808
792
|
switch (event.state) {
|
|
809
793
|
case _internalMediaCore.ConnectionState.Connecting:
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
794
|
+
if (!_this.hasMediaConnectionConnectedAtLeastOnce) {
|
|
795
|
+
// Only send CA event for join flow if we haven't successfully connected media yet
|
|
796
|
+
// @ts-ignore
|
|
797
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
798
|
+
name: 'client.ice.start',
|
|
799
|
+
options: {
|
|
800
|
+
meetingId: _this.id
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
}
|
|
817
804
|
break;
|
|
818
805
|
case _internalMediaCore.ConnectionState.Connected:
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
806
|
+
if (!_this.hasMediaConnectionConnectedAtLeastOnce) {
|
|
807
|
+
// Only send CA event for join flow if we haven't successfully connected media yet
|
|
808
|
+
// @ts-ignore
|
|
809
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
810
|
+
name: 'client.ice.end',
|
|
811
|
+
payload: {
|
|
812
|
+
canProceed: true,
|
|
813
|
+
icePhase: 'JOIN_MEETING_FINAL'
|
|
814
|
+
},
|
|
815
|
+
options: {
|
|
816
|
+
meetingId: _this.id
|
|
817
|
+
}
|
|
818
|
+
});
|
|
819
|
+
}
|
|
830
820
|
_metrics.default.sendBehavioralMetric(_constants2.default.CONNECTION_SUCCESS, {
|
|
831
821
|
correlation_id: _this.correlationId,
|
|
832
822
|
locus_id: _this.locusId,
|
|
@@ -5559,27 +5549,30 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
5559
5549
|
case 5:
|
|
5560
5550
|
_context19.prev = 5;
|
|
5561
5551
|
_context19.t0 = _context19["catch"](0);
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5552
|
+
if (!this.hasMediaConnectionConnectedAtLeastOnce) {
|
|
5553
|
+
// Only send CA event for join flow if we haven't successfully connected media yet
|
|
5554
|
+
// @ts-ignore
|
|
5555
|
+
this.webex.internal.newMetrics.submitClientEvent({
|
|
5556
|
+
name: 'client.ice.end',
|
|
5557
|
+
payload: {
|
|
5558
|
+
canProceed: !this.turnServerUsed,
|
|
5559
|
+
// If we haven't done turn tls retry yet we will proceed with join attempt
|
|
5560
|
+
icePhase: this.turnServerUsed ? 'JOIN_MEETING_FINAL' : 'JOIN_MEETING_RETRY',
|
|
5561
|
+
errors: [
|
|
5562
|
+
// @ts-ignore
|
|
5563
|
+
this.webex.internal.newMetrics.callDiagnosticMetrics.getErrorPayloadForClientErrorCode({
|
|
5564
|
+
clientErrorCode: _internalPluginMetrics.CallDiagnosticUtils.generateClientErrorCodeForIceFailure({
|
|
5565
|
+
signalingState: ((_this$mediaProperties6 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties6 === void 0 ? void 0 : (_this$mediaProperties7 = _this$mediaProperties6.multistreamConnection) === null || _this$mediaProperties7 === void 0 ? void 0 : (_this$mediaProperties8 = _this$mediaProperties7.pc) === null || _this$mediaProperties8 === void 0 ? void 0 : (_this$mediaProperties9 = _this$mediaProperties8.pc) === null || _this$mediaProperties9 === void 0 ? void 0 : _this$mediaProperties9.signalingState) || ((_this$mediaProperties10 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties10 === void 0 ? void 0 : (_this$mediaProperties11 = _this$mediaProperties10.mediaConnection) === null || _this$mediaProperties11 === void 0 ? void 0 : (_this$mediaProperties12 = _this$mediaProperties11.pc) === null || _this$mediaProperties12 === void 0 ? void 0 : _this$mediaProperties12.signalingState) || 'unknown',
|
|
5566
|
+
iceConnectionState: ((_this$mediaProperties13 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties13 === void 0 ? void 0 : (_this$mediaProperties14 = _this$mediaProperties13.multistreamConnection) === null || _this$mediaProperties14 === void 0 ? void 0 : (_this$mediaProperties15 = _this$mediaProperties14.pc) === null || _this$mediaProperties15 === void 0 ? void 0 : (_this$mediaProperties16 = _this$mediaProperties15.pc) === null || _this$mediaProperties16 === void 0 ? void 0 : _this$mediaProperties16.iceConnectionState) || ((_this$mediaProperties17 = this.mediaProperties.webrtcMediaConnection) === null || _this$mediaProperties17 === void 0 ? void 0 : (_this$mediaProperties18 = _this$mediaProperties17.mediaConnection) === null || _this$mediaProperties18 === void 0 ? void 0 : (_this$mediaProperties19 = _this$mediaProperties18.pc) === null || _this$mediaProperties19 === void 0 ? void 0 : _this$mediaProperties19.iceConnectionState) || 'unknown',
|
|
5567
|
+
turnServerUsed: this.turnServerUsed
|
|
5568
|
+
})
|
|
5569
|
+
})]
|
|
5570
|
+
},
|
|
5571
|
+
options: {
|
|
5572
|
+
meetingId: this.id
|
|
5573
|
+
}
|
|
5574
|
+
});
|
|
5575
|
+
}
|
|
5583
5576
|
throw new Error("Timed out waiting for media connection to be connected, correlationId=".concat(this.correlationId));
|
|
5584
5577
|
case 9:
|
|
5585
5578
|
case "end":
|