media/extensions/okhttp
olly 9d48d4e486 Support setting default headers on HttpDataSource.Factory's
Issue: #2166

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=143703258
2017-01-05 21:57:36 +00:00
..
src/main Support setting default headers on HttpDataSource.Factory's 2017-01-05 21:57:36 +00:00
build.gradle Fix/suppress some analysis warnings. 2016-10-24 11:44:49 +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.