Using pjsua for android

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

 



I don't know pjsip android branch.
But you could  try this patch.

1, first patch pjproject 2.0.1 release;
2, replace config.guess and config.sub
3,
./aconfigure --host=arm-linux-androideabi --enable-ext-sound
--disable-speex-codec --disable-speex-aec --disable-l16-codec
--disable-g722-codec --disable-floating-point
make dep; make

you can take a look user.mak to change compile flags.

regards,
Gang

On Sat, Jul 28, 2012 at 9:18 AM, Monty Python
<pythonexperiment at gmail.com> wrote:
>>Did you try pjlib-test and pjmedia-test before run pjsua?
> Yes: using pjlib-test of that distribution, an error of dynamic(?)
> linking (something like /system/xbin/linker) occurs.
>
>>I used pjproject 1.14.2 release version
> Now I'm trying to use the 2.0 version (it should be more recent than
> 1.14.2), but I don't know now what to say... I'll list here what I did
> in order to have another Stop and Segmentation fault from my su shell:
>  - I made the patch
> (http://digilander.libero.it/MIDISEARCH/android.patch), using the
> OpenSL as shown in a
> previous discussion on this mailing list. This patch contains also the
> configure-android of the pjsip's android branch.
>  - I do "autoconf aconfigure.ac > aconfigure" to generate the updated
> config file
>  - I run the script ./myConf generated from the patch file
>  - I do "make dep && make" (It uses by default the 5th version of Android Api)
>  - After compilation, i push the binary pjsua etc. to the rooted device.
>  - I execute the binary from /data/local with 0777 permissions
>  - The application is Stopped and then a Sigfault is received
>
> The same thing happens on the emulator. Thanks again for your useful advices,
>
>     M.P.
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjproject-2.0.1_android.patch
Type: application/octet-stream
Size: 12454 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120730/87965c7d/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.guess
Type: application/octet-stream
Size: 44958 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120730/87965c7d/attachment-0001.guess>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.sub
Type: application/octet-stream
Size: 35553 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120730/87965c7d/attachment-0001.sub>


[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