Skip to content

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

feat(rn,config) use more efficient codecs on mobile

Saúl Ibarra Corretgée06645a63188
diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.ts
index 30225e6246..72d8a2152b 100644
--- a/react/features/base/config/reducer.ts
+++ b/react/features/base/config/reducer.ts
@@ -43,20 +43,17 @@ const INITIAL_NON_RN_STATE: IConfig = {
* @type {Object}
*/
const INITIAL_RN_STATE: IConfig = {
- analytics: {},
-
// FIXME: Mobile codecs should probably be configurable separately, rather
// FIXME: than requiring this override here...
- // TODO: Remove comments later, after next release, so that the fix is applied
p2p: {
- // disabledCodec: 'vp9',
- // preferredCodec: 'vp8'
+ disabledCodec: 'vp9',
+ preferredCodec: 'h264'
},
videoQuality: {
- // disabledCodec: 'vp9',
- // preferredCodec: 'vp8'
+ disabledCodec: 'vp9',
+ preferredCodec: 'vp8'
}
};