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
.bashrc
or.bash_profile
file and insert the following line:export NDK_ROOT='/path/to/android-ndk-r6/'
cd
into thelive
directory- 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 clean
Please 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.cpp
and added casts fromunsigned int
totime_t
- Edited
Locale.cpp
and added#include <cstring>
- Edited
GroupsockHelper.cpp
and removeds_addr
from inet structs