Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Add ability to disable h264 (#2061)

Saúl Ibarra Corretgé3c3b05e3eaa7
diff --git a/config.js b/config.js
index 108ec737d1..bdec549281 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 82a10026b1..9ddb79e8a3 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
}
};