fix(rn) makes the preferedCode vp8 and enabled p2p
This commit is contained in:
parent
04a41395c8
commit
8fcfd7a308
|
@ -52,9 +52,7 @@ function _setConfig({ dispatch, getState }: IStore, next: Function, action: AnyA
|
||||||
const settings = state['features/base/settings'];
|
const settings = state['features/base/settings'];
|
||||||
const config: IConfig = {};
|
const config: IConfig = {};
|
||||||
|
|
||||||
// FIXME: P2P is currently temporality disabled on mobile.
|
if (typeof settings.disableP2P !== 'undefined') {
|
||||||
// eslint-disable-next-line no-constant-condition
|
|
||||||
if (false && typeof settings.disableP2P !== 'undefined') {
|
|
||||||
config.p2p = { enabled: !settings.disableP2P };
|
config.p2p = { enabled: !settings.disableP2P };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,10 +57,8 @@ const INITIAL_RN_STATE: IConfig = {
|
||||||
// than requiring this override here...
|
// than requiring this override here...
|
||||||
|
|
||||||
p2p: {
|
p2p: {
|
||||||
// Temporarily disable P2P on mobile while we sort out some (codec?) issues.
|
|
||||||
enabled: false,
|
|
||||||
disabledCodec: 'vp9',
|
disabledCodec: 'vp9',
|
||||||
preferredCodec: 'h264'
|
preferredCodec: 'vp8'
|
||||||
},
|
},
|
||||||
|
|
||||||
videoQuality: {
|
videoQuality: {
|
||||||
|
|
Loading…
Reference in New Issue