rn: disable H.264 on select devices even when not in P2P

iOS 10 crashes, so don't use it there, in any case.
This commit is contained in:
Saúl Ibarra Corretgé 2019-10-31 12:20:59 +01:00 committed by Saúl Ibarra Corretgé
parent 6d16e087d9
commit 36654cb808
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ const INITIAL_RN_STATE = {
// fastest to merely disable them.
disableAudioLevels: true,
disableH264: !RN_ENABLE_H264,
p2p: {
disableH264: !RN_ENABLE_H264,
preferH264: RN_ENABLE_H264