media/extensions/cronet
olly 661b14020e Partial cleanup of CronetDataSource II
- Allow null Content-Type in response headers.
- Inline validateResponse, just because it makes it clearer
  what thread it's being executed on when inlined.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135375063
2016-10-11 18:16:28 +01:00
..
jniLibs Create Cronet extension in v2 2016-08-31 15:25:31 +01:00
libs Create Cronet extension in v2 2016-08-31 15:25:31 +01:00
src Partial cleanup of CronetDataSource II 2016-10-11 18:16:28 +01:00
build.gradle Update SDK / Tools. 2016-09-02 16:12:55 +01:00
README.md Create Cronet extension in v2 2016-08-31 15:25:31 +01:00

ExoPlayer Cronet Extension

Description

Cronet is Chromium's Networking stack packaged as a library.

The Cronet Extension is an HttpDataSource implementation using Cronet.

Build Instructions

  • Checkout ExoPlayer along with Extensions:
git clone https://github.com/google/ExoPlayer.git
  • Get the Cronet libraries:
  1. Find the latest Cronet release here and navigate to its Release/cronet directory
  2. Download cronet.jar, cronet_api.jar and the libs directory
  3. Copy the two jar files into the libs directory of this extension
  4. Copy the content of the downloaded libs directory into the jniLibs directory of this extension
  • In ExoPlayer's settings.gradle file, uncomment the Cronet extension