Commit a906cfa6 authored by Ghislain MARY's avatar Ghislain MARY

Fix path to check if the msopenh264 plugin is present on Android.

parent cbc273d8
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment