Bläddra i källkod

Add ability to disable h264 (#2061)

* doc: document disableH264 option

* [RN] Override disableH264 config option

We never want it disabled on mobile.
master
Saúl Ibarra Corretgé 7 år sedan
förälder
incheckning
3c3b05e3ea
2 ändrade filer med 9 tillägg och 0 borttagningar
  1. 8
    0
      config.js
  2. 1
    0
      react/features/base/config/reducer.js

+ 8
- 0
config.js Visa fil

@@ -109,6 +109,10 @@ var config = { // eslint-disable-line no-unused-vars
109 109
     // default and can be toggled in the p2p section.
110 110
     //preferH264: true,
111 111
 
112
+    // If set to true, disable H.264 video codec by stripping it out of the
113
+    // SDP.
114
+    //disableH264: false,
115
+
112 116
     // Desktop sharing
113 117
 
114 118
     // Enable / disable desktop sharing
@@ -260,6 +264,10 @@ var config = { // eslint-disable-line no-unused-vars
260 264
         // is supported).
261 265
         preferH264: true
262 266
 
267
+        // If set to true, disable H.264 video codec by stripping it out of the
268
+        // SDP.
269
+        //disableH264: false,
270
+
263 271
         // How long we're going to wait, before going back to P2P after the 3rd
264 272
         // participant has left the conference (to filter out page reload).
265 273
         //backToP2PDelay: 5

+ 1
- 0
react/features/base/config/reducer.js Visa fil

@@ -38,6 +38,7 @@ const INITIAL_RN_STATE = {
38 38
     disableAudioLevels: true,
39 39
 
40 40
     p2p: {
41
+        disableH264: false,
41 42
         preferH264: true
42 43
     }
43 44
 };

Laddar…
Avbryt
Spara