Re: opencore-amr codecs on Android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And what about https://trac.pjsip.org/repos/wiki/Using-OpenCORE-AMR-NB-WB-Codec? It is possbile to build it on Android? I try something but I get some errors, here is my log

checking for OpenCORE AMR installations..
Using OpenCORE AMR prefix... /media/cookie/sip/pjsip/foo
checking opencore-amrnb/interf_enc.h usability... yes
checking opencore-amrnb/interf_enc.h presence... no
aconfigure: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor! aconfigure: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result
checking for opencore-amrnb/interf_enc.h... yes
checking for Encoder_Interface_init in -lopencore-amrnb... yes
OpenCORE AMR-NB library found, AMR-NB support enabled
checking vo-amrwbenc/enc_if.h usability... yes
checking vo-amrwbenc/enc_if.h presence... no
aconfigure: WARNING: vo-amrwbenc/enc_if.h: accepted by the compiler, rejected by the preprocessor! aconfigure: WARNING: vo-amrwbenc/enc_if.h: proceeding with the compiler's result
checking for vo-amrwbenc/enc_if.h... yes
checking opencore-amrwb/dec_if.h usability... yes
checking opencore-amrwb/dec_if.h presence... no
aconfigure: WARNING: opencore-amrwb/dec_if.h: accepted by the compiler, rejected by the preprocessor! aconfigure: WARNING: opencore-amrwb/dec_if.h: proceeding with the compiler's result
checking for opencore-amrwb/dec_if.h... yes
checking for D_IF_init in -lopencore-amrwb... yes
checking for E_IF_init in -lvo-amrwbenc... no
Checking if SILK support is disabled... yes
checking for OPUS installations..

I don't understand why presence result is always no...
To build opencore by ndk I copy config-android from pjsip and make some changes
BR,
Andrzej

W dniu 2016-10-31 o 13:44, JOHAN LANTZ pisze:
If you are ok with only targeting devices <= Android 6.0 you can have a look at how CSipSimple supports amr for pjsip. The advantage with that approach is that theoretically, you do not have to worry about amr licensing.

The downside is that starting in Android 7.0, this approach is blocked by Google so for +7.0 versions, you would have to compile opencore for Android yourself (and take care of the amr licensing issues).

/Johan




On 31/10/2016, 13:36, "pjsip on behalf of frogersik" <pjsip-bounces@xxxxxxxxxxxxxxx on behalf of frogersik@xxxxxxxxx> wrote:

Hi all!
It is possible to have OpenCORE AMR NB and WB Codecs on Android?

br,
Andrzej Grajnert

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux