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) make sure VP9 is never selected

Saúl Ibarra Corretgé294d2c9f6e57
diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.ts
index 511b0ed53c..7dc39dee00 100644
--- a/react/features/base/config/reducer.ts
+++ b/react/features/base/config/reducer.ts
@@ -48,16 +48,18 @@ const INITIAL_RN_STATE: IConfig = {
// fastest to merely disable them.
disableAudioLevels: true,
+ // FIXME: Mobile codecs should probably be configurable separately, rather
+ // than requiring this override here...
+
p2p: {
// Temporarily disable P2P on Android while we sort out some (codec?) issues.
...(Platform.OS === 'android' ? { enabled: false } : {}), // eslint-disable-line no-extra-parens
+ disabledCodec: 'vp9',
preferredCodec: 'h264'
},
videoQuality: {
- // FIXME: Mobile codecs should probably be configurable separately, rather
- // than requiring this override here...
- enforcePreferredCodec: true,
+ disabledCodec: 'vp9',
preferredCodec: 'vp8'
}
};