Browse Source

feat(stats): Add the ability to enable callStats for certain % of confs

master
Jaya Allamsetty 5 years ago
parent
commit
89cd6e8e3e
3 changed files with 9 additions and 3 deletions
  1. 6
    0
      config.js
  2. 2
    2
      package-lock.json
  3. 1
    1
      package.json

+ 6
- 0
config.js View File

@@ -64,6 +64,12 @@ var config = {
64 64
         // adjusted to 2.5 Mbps. This takes a value between 0 and 1 which determines
65 65
         // the probability for this to be enabled.
66 66
         // capScreenshareBitrate: 1 // 0 to disable
67
+
68
+        // Enable callstats only for a percentage of users.
69
+        // This takes a value between 0 and 100. A hash value is calculated using the
70
+        // conference name and callstats is enabled if the hash value is less than the
71
+        // the threshold specified here.
72
+        // callStatsThreshold: 5 // enable callstats for 5% of the conferences.
67 73
     },
68 74
 
69 75
     // Disables ICE/UDP by filtering out local and remote UDP candidates in

+ 2
- 2
package-lock.json View File

@@ -10500,8 +10500,8 @@
10500 10500
       }
10501 10501
     },
10502 10502
     "lib-jitsi-meet": {
10503
-      "version": "github:jitsi/lib-jitsi-meet#43e7c853b834dc7ced0f81ee5f4b130444d85e95",
10504
-      "from": "github:jitsi/lib-jitsi-meet#43e7c853b834dc7ced0f81ee5f4b130444d85e95",
10503
+      "version": "github:jitsi/lib-jitsi-meet#a433ca2dbc8accf41df5a50b13b126ad2e7932bf",
10504
+      "from": "github:jitsi/lib-jitsi-meet#a433ca2dbc8accf41df5a50b13b126ad2e7932bf",
10505 10505
       "requires": {
10506 10506
         "@jitsi/js-utils": "1.0.0",
10507 10507
         "@jitsi/sdp-interop": "1.0.3",

+ 1
- 1
package.json View File

@@ -56,7 +56,7 @@
56 56
     "jquery-i18next": "1.2.1",
57 57
     "js-md5": "0.6.1",
58 58
     "jwt-decode": "2.2.0",
59
-    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#43e7c853b834dc7ced0f81ee5f4b130444d85e95",
59
+    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#a433ca2dbc8accf41df5a50b13b126ad2e7932bf",
60 60
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
61 61
     "lodash": "4.17.19",
62 62
     "moment": "2.19.4",

Loading…
Cancel
Save