From a906cfa658c52d23730d151b31e7300ff8a11b68 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 28 Jun 2017 13:52:08 +0200 Subject: [PATCH] Fix path to check if the msopenh264 plugin is present on Android. --- java/impl/org/linphone/core/LinphoneCoreFactoryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/impl/org/linphone/core/LinphoneCoreFactoryImpl.java b/java/impl/org/linphone/core/LinphoneCoreFactoryImpl.java index 1d511549c..915e6e0c0 100644 --- a/java/impl/org/linphone/core/LinphoneCoreFactoryImpl.java +++ b/java/impl/org/linphone/core/LinphoneCoreFactoryImpl.java @@ -79,7 +79,7 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory { } private boolean loadingDownloadedOpenH264(Context context) { - File file = new File(context.getFilesDir()+"/../lib/libmsopenh264.so"); + File file = new File(context.getApplicationInfo().nativeLibraryDir+"/libmsopenh264.so"); if (!file.exists()) { Log.i("LinphoneCoreFactoryImpl"," libmsopenh264 not found, we disable the download of Openh264");