Skip to content

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

fix(rn,config) update to new configuration for codec selection

Saúl Ibarra Corretgé289ba6f76494
diff --git a/react/features/base/config/reducer.js b/react/features/base/config/reducer.js
index b3f5fcffec..8f94d801d5 100644
--- a/react/features/base/config/reducer.js
+++ b/react/features/base/config/reducer.js
@@ -49,11 +49,11 @@ const INITIAL_RN_STATE = {
disableAudioLevels: true,
p2p: {
- disableH264: false,
- preferH264: true
- },
-
- remoteVideoMenu: {}
+ disabledCodec: '',
+ disableH264: false, // deprecated
+ preferredCodec: 'H264',
+ preferH264: true // deprecated
+ }
};
ReducerRegistry.register('features/base/config', (state = _getInitialState(), action) => {