android: add documentation for android-mediastreamer

parent a73e5529
MEDIASTREAMER for ANDROID
****************************
To build libmediastreamer for Android, you must:
1) download the Android ndk (r5b, r6) from google.
2) install the autotools: autoconf, automake, aclocal, libtoolize
3) run the ./prepare_sources.sh script in the linphone-android top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
$ ./prepare_sources.sh
4a) If you already build linphone-android, use the following command before building MS2 libs:
${my google ndk directory}/ndk-build clean
4b) finally from directory mediastreamer, just execute command:
$ ${my google ndk directory}/ndk-build NDK_APPLICATION_MK=jni/Application.mk
There's a sample Mediastream Java app, to build and run it :
5) Use eclipse to create a new Android project 'from existing sources' using mediastreamer/java folder
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)
../libs
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment