fix(rn,config) make sure VP9 is never selected
This commit is contained in:
parent
12c002e015
commit
294d2c9f6e
|
@ -48,16 +48,18 @@ const INITIAL_RN_STATE: IConfig = {
|
||||||
// fastest to merely disable them.
|
// fastest to merely disable them.
|
||||||
disableAudioLevels: true,
|
disableAudioLevels: true,
|
||||||
|
|
||||||
|
// FIXME: Mobile codecs should probably be configurable separately, rather
|
||||||
|
// than requiring this override here...
|
||||||
|
|
||||||
p2p: {
|
p2p: {
|
||||||
// Temporarily disable P2P on Android while we sort out some (codec?) issues.
|
// Temporarily disable P2P on Android while we sort out some (codec?) issues.
|
||||||
...(Platform.OS === 'android' ? { enabled: false } : {}), // eslint-disable-line no-extra-parens
|
...(Platform.OS === 'android' ? { enabled: false } : {}), // eslint-disable-line no-extra-parens
|
||||||
|
disabledCodec: 'vp9',
|
||||||
preferredCodec: 'h264'
|
preferredCodec: 'h264'
|
||||||
},
|
},
|
||||||
|
|
||||||
videoQuality: {
|
videoQuality: {
|
||||||
// FIXME: Mobile codecs should probably be configurable separately, rather
|
disabledCodec: 'vp9',
|
||||||
// than requiring this override here...
|
|
||||||
enforcePreferredCodec: true,
|
|
||||||
preferredCodec: 'vp8'
|
preferredCodec: 'vp8'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue