From 3c3b05e3eaa744e8e076257f62e5dd1f0706905f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 12 Oct 2017 17:42:55 -0500 Subject: [PATCH] Add ability to disable h264 (#2061) * doc: document disableH264 option * [RN] Override disableH264 config option We never want it disabled on mobile. --- config.js | 8 ++++++++ react/features/base/config/reducer.js | 1 + 2 files changed, 9 insertions(+) diff --git a/config.js b/config.js index 108ec737d..bdec54928 100644 --- a/config.js +++ b/config.js @@ -109,6 +109,10 @@ var config = { // eslint-disable-line no-unused-vars // default and can be toggled in the p2p section. //preferH264: true, + // If set to true, disable H.264 video codec by stripping it out of the + // SDP. + //disableH264: false, + // Desktop sharing // Enable / disable desktop sharing @@ -260,6 +264,10 @@ var config = { // eslint-disable-line no-unused-vars // is supported). 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 // participant has left the conference (to filter out page reload). //backToP2PDelay: 5 diff --git a/react/features/base/config/reducer.js b/react/features/base/config/reducer.js index 82a10026b..9ddb79e8a 100644 --- a/react/features/base/config/reducer.js +++ b/react/features/base/config/reducer.js @@ -38,6 +38,7 @@ const INITIAL_RN_STATE = { disableAudioLevels: true, p2p: { + disableH264: false, preferH264: true } };