mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
|
|
||
|---|---|---|
| .. | ||
| build.gradle | ||
| README.md | ||
ExoPlayer TV tuner extension
Provides components for broadcast TV playback with ExoPlayer.
Links
- Javadoc: Classes matching
com.google.android.exoplayer2.ext.tv.*belong to this extension.
Build Instructions
- Checkout ExoPlayer:
git clone https://github.com/google/ExoPlayer.git
- Set the following environment variables:
cd "<path to exoplayer checkout>"
EXOPLAYER_ROOT="$(pwd)"
TV_MODULE_PATH="${EXOPLAYER_ROOT}/extensions/tv/src/main"
- Download the Android NDK and set its location in an environment variable:
NDK_PATH="<path to Android NDK>"
- Build the JNI native libraries from the command line:
cd "${TV_MODULE_PATH}"/jni && \
${NDK_PATH}/ndk-build APP_ABI=all -j<N>