Add ability to disable h264 (#2061)

* doc: document disableH264 option

* [RN] Override disableH264 config option

We never want it disabled on mobile.
This commit is contained in:
Saúl Ibarra Corretgé 2017-10-12 17:42:55 -05:00 committed by bbaldino
parent da03b49754
commit 3c3b05e3ea
2 changed files with 9 additions and 0 deletions

View File

@ -109,6 +109,10 @@ var config = { // eslint-disable-line no-unused-vars
// default and can be toggled in the p2p section. // default and can be toggled in the p2p section.
//preferH264: true, //preferH264: true,
// If set to true, disable H.264 video codec by stripping it out of the
// SDP.
//disableH264: false,
// Desktop sharing // Desktop sharing
// Enable / disable desktop sharing // Enable / disable desktop sharing
@ -260,6 +264,10 @@ var config = { // eslint-disable-line no-unused-vars
// is supported). // is supported).
preferH264: true preferH264: true
// If set to true, disable H.264 video codec by stripping it out of the
// SDP.
//disableH264: false,
// How long we're going to wait, before going back to P2P after the 3rd // How long we're going to wait, before going back to P2P after the 3rd
// participant has left the conference (to filter out page reload). // participant has left the conference (to filter out page reload).
//backToP2PDelay: 5 //backToP2PDelay: 5

View File

@ -38,6 +38,7 @@ const INITIAL_RN_STATE = {
disableAudioLevels: true, disableAudioLevels: true,
p2p: { p2p: {
disableH264: false,
preferH264: true preferH264: true
} }
}; };