浏览代码

feat(video-quality): Impose max-bitrates on video sender based on videoQuality settings (#7467)

* feat(video-quality): Impose max-bitrates on video sender based on config.js settings
Update to lib-jitsi-meet@latest
f74cd0abe9
master
Jaya Allamsetty 4 年前
父节点
当前提交
1a957ed85b
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 18 次插入3 次删除
  1. 15
    0
      config.js
  2. 2
    2
      package-lock.json
  3. 1
    1
      package.json

+ 15
- 0
config.js 查看文件

@@ -232,6 +232,21 @@ var config = {
232 232
     //     90: 2
233 233
     // },
234 234
 
235
+    // Specify the settings for video quality optimizations on the client.
236
+    // videoQuality: {
237
+    //
238
+    //    // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for
239
+    //    // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values
240
+    //    // are the max.bitrates to be set on that particular type of stream. The actual send may vary based on
241
+    //    // the available bandwidth calculated by the browser, but it will be capped by the values specified here.
242
+    //    // This is currently not implemented on app based clients on mobile.
243
+    //    maxBitratesVideo: {
244
+    //        low: 200000,
245
+    //        standard: 500000,
246
+    //        high: 1500000
247
+    //    }
248
+    // },
249
+
235 250
     // // Options for the recording limit notification.
236 251
     // recordingLimit: {
237 252
     //

+ 2
- 2
package-lock.json 查看文件

@@ -17945,8 +17945,8 @@
17945 17945
       }
17946 17946
     },
17947 17947
     "lib-jitsi-meet": {
17948
-      "version": "github:jitsi/lib-jitsi-meet#ae2f3a7a2034773e95ca5cae559c63c1bf7c8ea4",
17949
-      "from": "github:jitsi/lib-jitsi-meet#ae2f3a7a2034773e95ca5cae559c63c1bf7c8ea4",
17948
+      "version": "github:jitsi/lib-jitsi-meet#f74cd0abe9c696a9c3ca7dbb9ca170e6e84d6756",
17949
+      "from": "github:jitsi/lib-jitsi-meet#f74cd0abe9c696a9c3ca7dbb9ca170e6e84d6756",
17950 17950
       "requires": {
17951 17951
         "@jitsi/js-utils": "1.0.0",
17952 17952
         "@jitsi/sdp-interop": "1.0.3",

+ 1
- 1
package.json 查看文件

@@ -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#ae2f3a7a2034773e95ca5cae559c63c1bf7c8ea4",
59
+    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#f74cd0abe9c696a9c3ca7dbb9ca170e6e84d6756",
60 60
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
61 61
     "lodash": "4.17.19",
62 62
     "moment": "2.19.4",

正在加载...
取消
保存