mirror of
https://github.com/samsonjs/media.git
synced 2026-04-18 13:25:47 +00:00
Notes: - The VP9 one is failing claiming that the util package doesn't exist and that LibraryLoader cannot be found. Unsure why, since it appears to be setup exactly like other extensions (e.g. Opus) that does work. - @link across modules will not work when generating Javadoc for a single module. This is WAI. I subsequent change will add an aggregated Javadoc generator that will generate Javadoc for all modules together and apply cross module @link correctly. Issue: #2139 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150864273 |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle | ||
| README.md | ||
ExoPlayer OkHttp Extension
Description
The OkHttp Extension is an HttpDataSource implementation using Square's OkHttp.
Using the extension
The easiest way to use the extension is to add it as a gradle dependency. You
need to make sure you have the jcenter repository included in the build.gradle
file in the root of your project:
repositories {
jcenter()
}
Next, include the following in your module's build.gradle file:
compile 'com.google.android.exoplayer:extension-okhttp:rX.X.X'
where rX.X.X is the version, which must match the version of the ExoPlayer
library being used.