media/extensions/okhttp
ojw28 93c2133f29 Merge pull request #1909 from kaorimatz/okhttp-call-factory
Use Call.Factory instead of OkHttpClient
2016-10-09 14:41:46 +01:00
..
src/main Use Call.Factory instead of OkHttpClient 2016-10-07 21:00:27 +09:00
build.gradle Factor out common variables for publishing 2016-10-05 18:07:13 +01:00
README.md Bump version to 2.0.2 + document inclusion of OkHttp extension 2016-10-05 21:20:34 +01:00

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.