No description
Find a file
Guillaume Beraudo 1cca9a7b84 Workaround core instanciation fragility
During core creation the globalstate callback is
triggered before the java object is instantiated.

Code in listener try to access the core object.
2011-12-02 11:58:37 +01:00
jni media encryption API enhancements 2011-11-23 22:20:00 +01:00
patches integrate ffmpeg patch to 2011-09-30 21:31:07 +02:00
res Fix name of holding sound. 2011-12-01 16:40:03 +01:00
src/org Workaround core instanciation fragility 2011-12-02 11:58:37 +01:00
submodules Improve handling of holding sound. 2011-12-01 16:40:50 +01:00
.classpath Simple resume button in conferencing. 2011-10-21 14:21:40 +02:00
.gitignore fix tcp 2011-07-01 12:03:38 +02:00
.gitmodules Fix voice scrambling with ZRTP. 2011-11-18 10:21:50 +01:00
.project add ilbc 2010-06-30 09:54:16 +02:00
AndroidManifest.xml Cleaning. 2011-11-28 20:03:16 +01:00
default.properties Restore once again default.properties 2011-11-03 16:19:37 +01:00
deliver_sdk.sh Fix deliver script: javadoc generation. 2011-04-26 14:09:13 +02:00
prepare_sources.sh Update SILK plugin compilation logic. 2011-11-03 16:15:50 +01:00
README add dependency on pkgconfig in REAME 2011-11-22 19:12:51 +01:00

			   LINPHONE for ANDROID
			****************************

To build liblinphone for Android, you must:
1) download the Android ndk (>=r5c) from google.
2) install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig
3) run the ./prepare_sources.sh script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.

	$ ./prepare_sources.sh

4) finally from directory linphone-android, just execute command:
	$ ${my google ndk directory}/ndk-build

Some options can be passed to ndk-build, like "ndk-build SOME_OPTION=SOME_VALUE"

Option Name     |     Possible values
---------------------------------------------------------------------------------
BUILD_X264            0 (don't build x264) or 1 (build x264)
BUILD_AMR             0 (don't build amr codec), light (try to use amr codec from android), full (build your own amr codec)
BUILD_GPLV3_ZRTP      0 (don't support ZRTP), 1 (support ZRTP and make the whole program GPLv3)
BUILD_SILK            0 (don't build silk plugin), 1 (build silk) [silk is Skype nonfree patented audio codec]

In order to use ZRTP you also need to define the media_encryption property to
"zrtp" in the sip section of linphonerc file.