Browse Source

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 years ago
parent
commit
3c3b05e3ea
2 changed files with 9 additions and 0 deletions
  1. 8
    0
      config.js
  2. 1
    0
      react/features/base/config/reducer.js

+ 8
- 0
config.js View File

109
     // default and can be toggled in the p2p section.
109
     // default and can be toggled in the p2p section.
110
     //preferH264: true,
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
     // Desktop sharing
116
     // Desktop sharing
113
 
117
 
114
     // Enable / disable desktop sharing
118
     // Enable / disable desktop sharing
260
         // is supported).
264
         // is supported).
261
         preferH264: true
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
         // How long we're going to wait, before going back to P2P after the 3rd
271
         // How long we're going to wait, before going back to P2P after the 3rd
264
         // participant has left the conference (to filter out page reload).
272
         // participant has left the conference (to filter out page reload).
265
         //backToP2PDelay: 5
273
         //backToP2PDelay: 5

+ 1
- 0
react/features/base/config/reducer.js View File

38
     disableAudioLevels: true,
38
     disableAudioLevels: true,
39
 
39
 
40
     p2p: {
40
     p2p: {
41
+        disableH264: false,
41
         preferH264: true
42
         preferH264: true
42
     }
43
     }
43
 };
44
 };

Loading…
Cancel
Save