소스 검색

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

j8
Jaya Allamsetty 5 년 전
부모
커밋
89cd6e8e3e
3개의 변경된 파일9개의 추가작업 그리고 3개의 파일을 삭제
  1. 6
    0
      config.js
  2. 2
    2
      package-lock.json
  3. 1
    1
      package.json

+ 6
- 0
config.js 파일 보기

64
         // adjusted to 2.5 Mbps. This takes a value between 0 and 1 which determines
64
         // adjusted to 2.5 Mbps. This takes a value between 0 and 1 which determines
65
         // the probability for this to be enabled.
65
         // the probability for this to be enabled.
66
         // capScreenshareBitrate: 1 // 0 to disable
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
     // Disables ICE/UDP by filtering out local and remote UDP candidates in
75
     // Disables ICE/UDP by filtering out local and remote UDP candidates in

+ 2
- 2
package-lock.json 파일 보기

10500
       }
10500
       }
10501
     },
10501
     },
10502
     "lib-jitsi-meet": {
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
       "requires": {
10505
       "requires": {
10506
         "@jitsi/js-utils": "1.0.0",
10506
         "@jitsi/js-utils": "1.0.0",
10507
         "@jitsi/sdp-interop": "1.0.3",
10507
         "@jitsi/sdp-interop": "1.0.3",

+ 1
- 1
package.json 파일 보기

56
     "jquery-i18next": "1.2.1",
56
     "jquery-i18next": "1.2.1",
57
     "js-md5": "0.6.1",
57
     "js-md5": "0.6.1",
58
     "jwt-decode": "2.2.0",
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
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
60
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
61
     "lodash": "4.17.19",
61
     "lodash": "4.17.19",
62
     "moment": "2.19.4",
62
     "moment": "2.19.4",

Loading…
취소
저장