This is a port of live555's liveMedia library for Android. The original library is available here. Tested on Mac OS X 10.7 with Android NDK r6.
To build the library for Android, follow the following steps:
- Edit your
.bashrcor.bash_profilefile and insert the following line:export NDK_ROOT='/path/to/android-ndk-r6/' cdinto thelivedirectory- Execute
./android.sh - Retrieve your shared/static libraries from
BasicUsageEnvironment,groupsock,liveMedia, andUsageEnvironment - Use the libraries as prebuilt libraries in the jni folder of your Android project. Instructions on how to do that are available at my blog.
To clean the directory, issue the following commands:
$ make cleanPlease direct all questions, bug reports, and feedback about the porting process to jim@NO-SPAMjh-lim.com; likewise, please direct all questions regarding the liveMedia library to live555.
- Wrote
android.sh - Wrote
config.android - Edited
RTSPServerSupportingHTTPStreaming.cppand added casts fromunsigned inttotime_t - Edited
Locale.cppand added#include <cstring> - Edited
GroupsockHelper.cppand removeds_addrfrom inet structs