|
From: | Viet Bui |
Subject: | Re: [Linphone-developers] [OpenH264] How to import OpenH264 |
Date: | Wed, 26 Apr 2017 10:43:43 +0700 |
Hi, Thank you for sending time with me But it didn't work :( Case 1 : I checkout latest version linphone for android from git (3.2.6) and followed steps in wiki I built with option : ./prepare.py -DENABLE_NON_FREE_CODECS=1 -DENABLE_OPENH264=1 (Built OK) When I run app on Android 4.4 (API 19). The linphone asks me to download OpenH264. It was perfect But when Linphone restart after downloaded OpenH264 then I got some logs : LinphoneCoreFactoryImpl Loading OpenH264 downloaded plugin:/data/data/org.linphone/files/libopenh264.so Trying to load lib /data/data/org.linphone/files/libopenh264.so 0x44734598 Added shared lib /data/data/org.linphone/files/libopenh264.so 0x44734598 No JNI_OnLoad found in /data/data/org.linphone/files/libopenh264.so 0x44734598, skipping init Codec H264/90000 fmtp=[profile-level-id=42801F] number=-1, default enablement: 1) added to the list of possible codecs. Loading plugin /data/app-lib/org.linphone-1/libmsopenh264.so... Fail to load plugin /data/app-lib/org.linphone-1/libmsopenh264.so : dlopen failed: cannot locate symbol "ortp_logv" referenced by "libmsopenh264.so"... The libopenH264.so has loaded and libmsopenh264.so couldn't load I guess these errors maybe come from on target SDK 19 Case 2: I download Linphone from PlayStore ( version 3.2.5) These are logs when I run linphone 04-26 10:30:02.303 3595-3595/? I/Linphone: LinphoneCoreFactoryImpl Loading OpenH264 downloaded plugin:/data/data/org.linphone/files/libopenh264.so 04-26 10:30:02.303 3595-3595/? D/dalvikvm: Trying to load lib /data/data/org.linphone/files/libopenh264.so 0x447301e8 04-26 10:30:02.303 3595-3595/? D/dalvikvm: Added shared lib /data/data/org.linphone/files/libopenh264.so 0x447301e8 04-26 10:30:02.303 3595-3595/? D/dalvikvm: No JNI_OnLoad found in /data/data/org.linphone/files/libopenh264.so 0x447301e8, skipping init 04-26 10:30:02.963 3595-3595/? I/Linphone: Codec H264/90000 fmtp=[profile-level-id=42801F] number=-1, default enablement: 1) added to the list of possible codecs. 04-26 10:30:03.413 3595-3595/? I/Linphone: Could not find encoder for H264 04-26 10:30:03.413 3595-3595/? I/Linphone: Could not find decoder for H264 04-26 10:30:03.413 3595-3595/? W/Linphone: Codec H264/90000 read from conf is not supported by mediastreamer2, ignored. 04-26 10:30:03.413 3595-3595/? I/Linphone: Could not find encoder for H264 04-26 10:30:03.413 3595-3595/? I/Linphone: Could not find decoder for H264 04-26 10:30:03.443 3595-3595/? I/Linphone: Loading plugin /data/app-lib/org.linphone-1/libmsopenh264.so... 04-26 10:30:03.443 3595-3595/? I/Linphone: msopenh264-1.2.0 plugin registered. 04-26 10:30:03.443 3595-3595/? I/Linphone: Plugin loaded (/data/app-lib/org.linphone-1/libmsopenh264.so) The libopenH264.so has loaded and libmsopenh264.so loaded too Are there some different between build 3.2.5 and 3.2.6 ? I checked Makefile : The Makefile in 3.2.5 is different 3.2.6 I think that is a bug when build linphone sdk 3.2.6 on Android Thank you for reading my mail VietBQ
|
[Prev in Thread] | Current Thread | [Next in Thread] |