linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] ZRTP on Android


From: Daniel Muller
Subject: Re: [Linphone-users] ZRTP on Android
Date: Mon, 17 Jun 2013 23:10:53 +0200

Ok, now with r8d

I ran make BUILD_GPLV3_ZRTP=1 BUILD_AMRWB=1
and ./prepare_sources.h with same params
also run eclipse that has bult the java projects
tun debugger
configured media_encryption to be zrtp and debug on
and this is ZRT filtered log cat..

06-17 21:06:30.998: I/Linphone(839): Initialized ZRTP context
06-17 21:06:31.258: I/Linphone(839): Starting ZRTP engine
06-17 21:06:31.258: I/Linphone(839): sent ZRTP Hello    59827
06-17 21:06:31.629: I/Linphone(839): sent ZRTP Hello    59828
06-17 21:06:31.868: I/Linphone(839): sent ZRTP Hello    59829
06-17 21:06:32.138: I/Linphone(839): sent ZRTP Hello    59830
06-17 21:06:32.609: I/Linphone(839): sent ZRTP Hello    59831
06-17 21:06:33.248: I/Linphone(839): sent ZRTP Hello    59832
06-17 21:06:34.038: I/Linphone(839): sent ZRTP Hello    59833
06-17 21:06:34.569: I/Linphone(839): sent ZRTP Hello    59834
06-17 21:06:34.769: I/Linphone(839): sent ZRTP Hello    59835
06-17 21:06:34.968: I/Linphone(839): sent ZRTP Hello    59836
06-17 21:06:35.178: I/Linphone(839): sent ZRTP Hello    59837
06-17 21:06:35.348: I/Linphone(839): Stopping ZRTP context
06-17 21:06:35.358: I/Linphone(839): Destroying ZRTP wrapper
06-17 21:06:35.358: I/Linphone(839): Destroying ORTP-ZRTP mutex
06-17 21:06:35.358: I/Linphone(839): ORTP-ZRTP context destroyed


Obviously the ZRTP did not hold too long.
What might be wrong now?
Do you think my libs are built well already?


----
Daniel Muller, Prague, CZ


On Wed, Jun 5, 2013 at 2:36 PM, Guillaume Beraudo <address@hidden> wrote:
Hi,

First, don't use ndk r8e, it's crap.

Second, why would you want to use an older zrtpcpp?


Guillaume


On Wed, Jun 05, 2013 at 02:06:20PM +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


_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]