From 294d2c9f6e573c36c54274389a80cc8f0243573e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 16 Dec 2022 10:23:54 +0100 Subject: [PATCH] fix(rn,config) make sure VP9 is never selected --- react/features/base/config/reducer.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.ts index 511b0ed53..7dc39dee0 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' } };