瀏覽代碼

fix(config): Add missing config.js settings.

Add missing enforcePreferredCodec, bitrates for H264 and fix an issue with missing comma.
j8
Jaya Allamsetty 4 年之前
父節點
當前提交
59afafdf7c
共有 1 個檔案被更改,包括 21 行新增10 行删除
  1. 21
    10
      config.js

+ 21
- 10
config.js 查看文件

@@ -261,12 +261,24 @@ var config = {
261 261
     //    // to take effect.
262 262
     //    preferredCodec: 'VP8',
263 263
     //
264
+    //    // Provides a way to enforce the preferred codec for the conference even when the conference has endpoints
265
+    //    // that do not support the preferred codec. For example, older versions of Safari do not support VP9 yet.
266
+    //    // This will result in Safari not being able to decode video from endpoints sending VP9 video.
267
+    //    // When set to false, the conference falls back to VP8 whenever there is an endpoint that doesn't support the
268
+    //    // preferred codec and goes back to the preferred codec when that endpoint leaves.
269
+    //    // enforcePreferredCodec: false,
270
+    //
264 271
     //    // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for
265 272
     //    // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values
266 273
     //    // are the max.bitrates to be set on that particular type of stream. The actual send may vary based on
267 274
     //    // the available bandwidth calculated by the browser, but it will be capped by the values specified here.
268 275
     //    // This is currently not implemented on app based clients on mobile.
269 276
     //    maxBitratesVideo: {
277
+    //          H264: {
278
+    //              low: 200000,
279
+    //              standard: 500000,
280
+    //              high: 1500000
281
+    //          },
270 282
     //          VP8 : {
271 283
     //              low: 200000,
272 284
     //              standard: 500000,
@@ -332,8 +344,7 @@ var config = {
332 344
     // enableIceRestart: false,
333 345
 
334 346
     // Enables forced reload of the client when the call is migrated as a result of
335
-    // the bridge going down. Currently enabled by default as call migration through
336
-    // session-terminate is causing siganling issues when Octo is enabled.
347
+    // the bridge going down.
337 348
     // enableForcedReload: true,
338 349
 
339 350
     // Use TURN/UDP servers for the jitsi-videobridge connection (by default
@@ -481,13 +492,6 @@ var config = {
481 492
         // connection.
482 493
         enabled: true,
483 494
 
484
-        // The STUN servers that will be used in the peer to peer connections
485
-        stunServers: [
486
-
487
-            // { urls: 'stun:jitsi-meet.example.com:3478' },
488
-            { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
489
-        ]
490
-
491 495
         // Sets the ICE transport policy for the p2p connection. At the time
492 496
         // of this writing the list of possible values are 'all' and 'relay',
493 497
         // but that is subject to change in the future. The enum is defined in
@@ -513,7 +517,14 @@ var config = {
513 517
 
514 518
         // How long we're going to wait, before going back to P2P after the 3rd
515 519
         // participant has left the conference (to filter out page reload).
516
-        // backToP2PDelay: 5
520
+        // backToP2PDelay: 5,
521
+
522
+        // The STUN servers that will be used in the peer to peer connections
523
+        stunServers: [
524
+
525
+            // { urls: 'stun:jitsi-meet.example.com:3478' },
526
+            { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
527
+        ]
517 528
     },
518 529
 
519 530
     analytics: {

Loading…
取消
儲存