media/extensions/cronet
2017-03-13 15:54:10 +00: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 Propagate updates of default header fields of the HttpDataSource.BaseFactory to HttpDataSource instances. 2017-03-13 15:54:10 +00:00
build.gradle Fix gradle/proguard setup 2017-01-13 17:27:25 +00:00
README.md Cronet README fix 2016-11-25 20:18:32 +00: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_api.jar, cronet_impl_common_java.jar, cronet_impl_native_java.jar and the libs directory
  3. Copy the three 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