|
@@ -25,7 +25,7 @@ MiddlewareRegistry.register(store => next => action => {
|
25
|
25
|
|
26
|
26
|
switch (action.type) {
|
27
|
27
|
case LIB_WILL_INIT: {
|
28
|
|
- if (analytics.rtcstatsEndpoint) {
|
|
28
|
+ if (analytics.rtcstatsEnabled) {
|
29
|
29
|
// RTCStats "proxies" WebRTC functions such as GUM and RTCPeerConnection by rewriting the global
|
30
|
30
|
// window functions. Because lib-jitsi-meet uses references to those functions that are taken on
|
31
|
31
|
// init, we need to add these proxies before it initializes, otherwise lib-jitsi-meet will use the
|
|
@@ -47,7 +47,7 @@ MiddlewareRegistry.register(store => next => action => {
|
47
|
47
|
break;
|
48
|
48
|
}
|
49
|
49
|
case CONFERENCE_JOINED: {
|
50
|
|
- if (analytics.rtcstatsEndpoint && RTCStats.isInitialized()) {
|
|
50
|
+ if (analytics.rtcstatsEnabled && RTCStats.isInitialized()) {
|
51
|
51
|
// Once the conference started connect to the rtcstats server and send data.
|
52
|
52
|
try {
|
53
|
53
|
RTCStats.connect();
|