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");