
- Add proguard rules for libraries/extensions into .aar files - Add proguard rules to retain CEA608/708 decoder constructors - Remove lots of default config from gradle files - Remove disabling of abort on lint error - Enable optimizations on release builds of demo app ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144350233
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.