feat(rn,config) default to VP8 on mobile
VP9 is too resource intensive. H.264 might be coming back for P2P but we need to fix support for Android first, since it's not available with the default software codec factory.
This commit is contained in:
parent
f5f689c53d
commit
f935b29629
|
@ -481,7 +481,7 @@ export interface IConfig {
|
|||
standard?: number;
|
||||
};
|
||||
};
|
||||
minHeightForQualityLvl: {
|
||||
minHeightForQualityLvl?: {
|
||||
[key: number]: string;
|
||||
};
|
||||
preferredCodec?: string;
|
||||
|
|
|
@ -52,10 +52,11 @@ const INITIAL_RN_STATE: IConfig = {
|
|||
disableAudioLevels: true,
|
||||
|
||||
p2p: {
|
||||
disabledCodec: '',
|
||||
disableH264: false, // deprecated
|
||||
preferredCodec: 'H264',
|
||||
preferH264: true // deprecated
|
||||
preferredCodec: 'VP8'
|
||||
},
|
||||
|
||||
videoQuality: {
|
||||
preferredCodec: 'VP8'
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue