@webex/plugin-meetings 3.0.0-beta.22 → 3.0.0-beta.24
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/constants.js +0 -3
- package/dist/constants.js.map +1 -1
- package/dist/media/properties.js.map +1 -1
- package/dist/mediaQualityMetrics/config.js +505 -493
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/index.js +1 -4
- package/dist/meeting/index.js.map +1 -1
- package/dist/networkQualityMonitor/index.js +4 -2
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/statsAnalyzer/global.js +1 -93
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.js +297 -299
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.js +84 -47
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/types/breakouts/breakout.d.ts +8 -0
- package/dist/types/breakouts/collection.d.ts +5 -0
- package/dist/types/breakouts/index.d.ts +5 -0
- package/dist/types/common/browser-detection.d.ts +9 -0
- package/dist/types/common/collection.d.ts +48 -0
- package/dist/types/common/config.d.ts +2 -0
- package/dist/types/common/errors/captcha-error.d.ts +15 -0
- package/dist/types/common/errors/intent-to-join.d.ts +16 -0
- package/dist/types/common/errors/join-meeting.d.ts +17 -0
- package/dist/types/common/errors/media.d.ts +15 -0
- package/dist/types/common/errors/parameter.d.ts +15 -0
- package/dist/types/common/errors/password-error.d.ts +15 -0
- package/dist/types/common/errors/permission.d.ts +14 -0
- package/dist/types/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/types/common/errors/reconnection.d.ts +15 -0
- package/dist/types/common/errors/stats.d.ts +15 -0
- package/dist/types/common/errors/webex-errors.d.ts +69 -0
- package/dist/types/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/types/common/events/events-scope.d.ts +17 -0
- package/dist/types/common/events/events.d.ts +12 -0
- package/dist/types/common/events/trigger-proxy.d.ts +2 -0
- package/dist/types/common/events/util.d.ts +2 -0
- package/dist/types/common/logs/logger-config.d.ts +2 -0
- package/dist/types/common/logs/logger-proxy.d.ts +2 -0
- package/dist/types/common/logs/request.d.ts +34 -0
- package/dist/types/common/queue.d.ts +32 -0
- package/dist/types/config.d.ts +77 -0
- package/dist/types/constants.d.ts +895 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/locus-info/controlsUtils.d.ts +2 -0
- package/dist/types/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/types/locus-info/fullState.d.ts +2 -0
- package/dist/types/locus-info/hostUtils.d.ts +2 -0
- package/dist/types/locus-info/index.d.ts +269 -0
- package/dist/types/locus-info/infoUtils.d.ts +2 -0
- package/dist/types/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/types/locus-info/parser.d.ts +212 -0
- package/dist/types/locus-info/selfUtils.d.ts +2 -0
- package/dist/types/media/index.d.ts +32 -0
- package/dist/types/media/properties.d.ts +107 -0
- package/dist/types/media/util.d.ts +2 -0
- package/dist/types/mediaQualityMetrics/config.d.ts +365 -0
- package/dist/types/meeting/effectsState.d.ts +42 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +75 -0
- package/dist/types/meeting/index.d.ts +1706 -0
- package/dist/types/meeting/muteState.d.ts +108 -0
- package/dist/types/meeting/request.d.ts +261 -0
- package/dist/types/meeting/request.type.d.ts +11 -0
- package/dist/types/meeting/state.d.ts +9 -0
- package/dist/types/meeting/util.d.ts +2 -0
- package/dist/types/meeting-info/collection.d.ts +20 -0
- package/dist/types/meeting-info/index.d.ts +57 -0
- package/dist/types/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/types/meeting-info/request.d.ts +22 -0
- package/dist/types/meeting-info/util.d.ts +2 -0
- package/dist/types/meeting-info/utilv2.d.ts +2 -0
- package/dist/types/meetings/collection.d.ts +23 -0
- package/dist/types/meetings/index.d.ts +297 -0
- package/dist/types/meetings/request.d.ts +27 -0
- package/dist/types/meetings/util.d.ts +18 -0
- package/dist/types/member/index.d.ts +146 -0
- package/dist/types/member/util.d.ts +2 -0
- package/dist/types/members/collection.d.ts +24 -0
- package/dist/types/members/index.d.ts +320 -0
- package/dist/types/members/request.d.ts +50 -0
- package/dist/types/members/util.d.ts +2 -0
- package/dist/types/metrics/config.d.ts +178 -0
- package/dist/types/metrics/constants.d.ts +57 -0
- package/dist/types/metrics/index.d.ts +160 -0
- package/dist/types/multistream/mediaRequestManager.d.ts +50 -0
- package/dist/types/multistream/receiveSlot.d.ts +64 -0
- package/dist/types/multistream/receiveSlotManager.d.ts +41 -0
- package/dist/types/multistream/remoteMedia.d.ts +93 -0
- package/dist/types/multistream/remoteMediaGroup.d.ts +56 -0
- package/dist/types/multistream/remoteMediaManager.d.ts +241 -0
- package/dist/types/networkQualityMonitor/index.d.ts +70 -0
- package/dist/types/personal-meeting-room/index.d.ts +47 -0
- package/dist/types/personal-meeting-room/request.d.ts +14 -0
- package/dist/types/personal-meeting-room/util.d.ts +2 -0
- package/dist/types/reachability/index.d.ts +140 -0
- package/dist/types/reachability/request.d.ts +35 -0
- package/dist/types/reactions/constants.d.ts +3 -0
- package/dist/types/reactions/reactions.d.ts +4 -0
- package/dist/types/reactions/reactions.type.d.ts +52 -0
- package/dist/types/reconnection-manager/index.d.ts +117 -0
- package/dist/types/recording-controller/enums.d.ts +7 -0
- package/dist/types/recording-controller/index.d.ts +193 -0
- package/dist/types/recording-controller/util.d.ts +13 -0
- package/dist/types/roap/index.d.ts +77 -0
- package/dist/types/roap/request.d.ts +35 -0
- package/dist/types/roap/turnDiscovery.d.ts +74 -0
- package/dist/types/statsAnalyzer/global.d.ts +36 -0
- package/dist/types/statsAnalyzer/index.d.ts +195 -0
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +24 -0
- package/dist/types/transcription/index.d.ts +64 -0
- package/package.json +19 -19
- package/src/constants.ts +0 -3
- package/src/media/properties.ts +1 -3
- package/src/mediaQualityMetrics/config.ts +379 -377
- package/src/meeting/index.ts +1 -4
- package/src/networkQualityMonitor/index.ts +6 -6
- package/src/statsAnalyzer/global.ts +1 -94
- package/src/statsAnalyzer/index.ts +325 -373
- package/src/statsAnalyzer/mqaUtil.ts +92 -89
- package/test/integration/spec/space-meeting.js +1 -1
- package/test/unit/spec/networkQualityMonitor/index.js +4 -4
- package/test/unit/spec/stats-analyzer/index.js +63 -39
package/src/meeting/index.ts
CHANGED
|
@@ -4853,10 +4853,6 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
4853
4853
|
}
|
|
4854
4854
|
}
|
|
4855
4855
|
|
|
4856
|
-
// start stats here the stats are coming null if you dont receive streams
|
|
4857
|
-
|
|
4858
|
-
this.statsAnalyzer.startAnalyzer(this.mediaProperties.webrtcMediaConnection);
|
|
4859
|
-
|
|
4860
4856
|
if (eventType && mediaTrack) {
|
|
4861
4857
|
Trigger.trigger(
|
|
4862
4858
|
this,
|
|
@@ -4917,6 +4913,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
4917
4913
|
});
|
|
4918
4914
|
this.setNetworkStatus(NETWORK_STATUS.CONNECTED);
|
|
4919
4915
|
this.reconnectionManager.iceReconnected();
|
|
4916
|
+
this.statsAnalyzer.startAnalyzer(this.mediaProperties.webrtcMediaConnection);
|
|
4920
4917
|
break;
|
|
4921
4918
|
case ConnectionState.Disconnected:
|
|
4922
4919
|
this.setNetworkStatus(NETWORK_STATUS.DISCONNECTED);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import EventsScope from '../common/events/events-scope';
|
|
2
|
-
import {EVENT_TRIGGERS
|
|
2
|
+
import {EVENT_TRIGGERS} from '../constants';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Meeting - network quality event
|
|
@@ -49,11 +49,7 @@ export default class NetworkQualityMonitor extends EventsScope {
|
|
|
49
49
|
});
|
|
50
50
|
this.networkQualityScore = 1;
|
|
51
51
|
this.networkQualityStatus = {
|
|
52
|
-
[this.frequencyTypes.UPLINK]: {
|
|
53
|
-
[STATS.VIDEO_CORRELATE]: {},
|
|
54
|
-
[STATS.AUDIO_CORRELATE]: {},
|
|
55
|
-
[STATS.SHARE_CORRELATE]: {},
|
|
56
|
-
},
|
|
52
|
+
[this.frequencyTypes.UPLINK]: {},
|
|
57
53
|
};
|
|
58
54
|
this.mediaType = null;
|
|
59
55
|
}
|
|
@@ -172,6 +168,10 @@ export default class NetworkQualityMonitor extends EventsScope {
|
|
|
172
168
|
const determineIfUndefined = (value: number | undefined) =>
|
|
173
169
|
typeof value === 'undefined' ? null : value;
|
|
174
170
|
|
|
171
|
+
if (!this.networkQualityStatus[UPLINK][mediaType]) {
|
|
172
|
+
this.networkQualityStatus[UPLINK][mediaType] = {};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
175
|
/**
|
|
176
176
|
* Values for some browsers specifically Safari will be undefined we explicitly set to null
|
|
177
177
|
* https://bugs.webkit.org/show_bug.cgi?id=206645
|
|
@@ -1,55 +1,5 @@
|
|
|
1
1
|
const STATS_DEFAULT = {
|
|
2
2
|
encryption: 'sha-256',
|
|
3
|
-
audio: {
|
|
4
|
-
send: {
|
|
5
|
-
trackLabel: '',
|
|
6
|
-
maxPacketLossRatio: 0,
|
|
7
|
-
availableBandwidth: 0,
|
|
8
|
-
bytesSent: 0,
|
|
9
|
-
meanRemoteJitter: [],
|
|
10
|
-
meanRoundTripTime: [],
|
|
11
|
-
},
|
|
12
|
-
recv: {
|
|
13
|
-
availableBandwidth: 0,
|
|
14
|
-
bytesReceived: 0,
|
|
15
|
-
meanRtpJitter: [],
|
|
16
|
-
meanRoundTripTime: [],
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
video: {
|
|
20
|
-
send: {
|
|
21
|
-
trackLabel: '',
|
|
22
|
-
maxPacketLossRatio: 0,
|
|
23
|
-
availableBandwidth: 0,
|
|
24
|
-
meanRemoteJitter: [],
|
|
25
|
-
meanRoundTripTime: [],
|
|
26
|
-
},
|
|
27
|
-
recv: {
|
|
28
|
-
availableBandwidth: 0,
|
|
29
|
-
totalPacketsLost: 0,
|
|
30
|
-
meanRtpJitter: [],
|
|
31
|
-
meanRoundTripTime: [],
|
|
32
|
-
},
|
|
33
|
-
latency: 0,
|
|
34
|
-
packetsLost: 0,
|
|
35
|
-
},
|
|
36
|
-
share: {
|
|
37
|
-
send: {
|
|
38
|
-
maxPacketLossRatio: 0,
|
|
39
|
-
availableBandwidth: 0,
|
|
40
|
-
totalPacketsLost: 0,
|
|
41
|
-
meanRemoteJitter: [],
|
|
42
|
-
meanRoundTripTime: [],
|
|
43
|
-
},
|
|
44
|
-
recv: {
|
|
45
|
-
availableBandwidth: 0,
|
|
46
|
-
meanRtpJitter: [],
|
|
47
|
-
meanRoundTripTime: [],
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
latency: 0,
|
|
51
|
-
packetsLost: 0,
|
|
52
|
-
},
|
|
53
3
|
bandwidth: {
|
|
54
4
|
systemBandwidth: 0,
|
|
55
5
|
sentPerSecond: 0,
|
|
@@ -77,51 +27,8 @@ const STATS_DEFAULT = {
|
|
|
77
27
|
networkType: [],
|
|
78
28
|
},
|
|
79
29
|
},
|
|
80
|
-
resolutions: {
|
|
81
|
-
audio: {
|
|
82
|
-
send: {
|
|
83
|
-
width: 0,
|
|
84
|
-
height: 0,
|
|
85
|
-
},
|
|
86
|
-
recv: {
|
|
87
|
-
width: 0,
|
|
88
|
-
height: 0,
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
video: {
|
|
92
|
-
send: {
|
|
93
|
-
width: 0,
|
|
94
|
-
height: 0,
|
|
95
|
-
},
|
|
96
|
-
recv: {
|
|
97
|
-
width: 0,
|
|
98
|
-
height: 0,
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
share: {
|
|
102
|
-
send: {
|
|
103
|
-
width: 0,
|
|
104
|
-
height: 0,
|
|
105
|
-
},
|
|
106
|
-
recv: {
|
|
107
|
-
width: 0,
|
|
108
|
-
height: 0,
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
},
|
|
30
|
+
resolutions: {},
|
|
112
31
|
internal: {
|
|
113
|
-
audio: {
|
|
114
|
-
send: {},
|
|
115
|
-
recv: {},
|
|
116
|
-
},
|
|
117
|
-
video: {
|
|
118
|
-
send: {},
|
|
119
|
-
recv: {},
|
|
120
|
-
},
|
|
121
|
-
share: {
|
|
122
|
-
send: {},
|
|
123
|
-
recv: {},
|
|
124
|
-
},
|
|
125
32
|
remote: {},
|
|
126
33
|
candidates: {},
|
|
127
34
|
},
|