mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
Fix checking build version for OpenH264
This commit is contained in:
parent
491c4d99e7
commit
76b6d803bc
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
private boolean loadOpenH264(Context context) {
|
||||
File file = new File(context.getFilesDir()+"/../lib/libmsopenh264.so");
|
||||
|
||||
// Only enable for android > 5.0
|
||||
if (!file.exists() && Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP_MR1) {
|
||||
// Only enable for android <= 5.0
|
||||
if (!file.exists() && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) {
|
||||
Log.i("LinphoneCoreFactoryImpl"," Openh264 disabled on the project");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue