[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] ZRTP on Android
From: |
Alexander Kozyrev |
Subject: |
Re: [Linphone-users] ZRTP on Android |
Date: |
Wed, 05 Jun 2013 14:13:14 +0200 |
+7 903 210 2205
On Wed, 2013-06-05 at 14:06 +0200, Daniel Muller wrote:
> Thanks Guillaume,
>
> this moves me a bit further, I tried to follow the instructions in
> submodules/linphone/README.zrtp
>
> first thing I noticed, that libzrtpcpp as well as srtp folders exist
> already in the submodules/externals/
>
> I did not try to replace them with the new ones, I only patched the
> files (supposing they are there because it's been tested to work with
> them).
>
> The bulding gives some output, and first errors that occur are
>
> [exec]
> /opt/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld:
> ./obj/local/armeabi-v7a/libopencoreamr.a(wrapper.o): in function
> Decoder_Interface_init:jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:30:
> error: undefined reference to 'GSMInitDecode'
>
> [exec]
> /opt/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld:
> ./obj/local/armeabi-v7a/libopencoreamr.a(wrapper.o): in function
> Decoder_Interface_exit:jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:35:
> error: undefined reference to 'GSMDecodeFrameExit'
>
>
>
> On the other hand I wanted also to try using the libzrtpcpp-2.0.0 as
> in the readme
> I need to remove ZrtpPacketRelayAck, ZrtpPacketSASrelay from
> libzrtpcpp/Android.mk in order to pass further
>
> Also ekt from srtp..
>
> Edit zrtp.h in ortp folder to change path for include <include/srtp.h>
>
> After that the next error proved libzrtpcpp-2.0.0 is too old for this,
> as ortp expects some parametres that are obviously newer features of
> zrtp..
>
>
> To complete the information my linphone-android comes from the git few
> days ago
>
>
>
> Seems like some GSM module should be turned on too.. How and which?
>
>
>
>
> ----
> Daniel Muller, Prague, CZ
>
>
> On Wed, Jun 5, 2013 at 9:34 AM, Guillaume Beraudo
> <address@hidden> wrote:
> Hi,
>
> Have you checked readme for how to compile ZRTP support?
>
> Enable traces and check adb logcat.
>
> Cheers,
> Guillaume
>
> On Tue, Jun 04, 2013 at 06:18:19PM +0200, Daniel Muller wrote:
> > Hi,
> > I wanted to test a ZRTP functionality of linphone android
> and I somehow
> > failed. I Tried the same with a windows build and it worked,
> therefore it
> > must be there somewhere, but how to make it work.
> > I am on linux, successfully building and running
> linphone-android with a
> > sdk and ndk in a emulator. Normal sip call seems to work,
> but there is no
> > ZRTP in it.
> > I tried few thinks - looked through the settings in android
> UI and found an
> > option for ZRTP, used it. I Also edited res/raw/linphonerc
> added
> > media_encryption=zrtp in sip section..
> > What else ?
> > thanks
> > Daniel
>
>
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users