media/extensions/cronet
tonihei 4359d44331 Rename CronetEngineFactory to CronetEngineWrapper
In addition, the class now accepts available Cronet instances and returns the
source of the current CronetEngine.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156185701
2017-05-17 16:48:07 +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 Rename CronetEngineFactory to CronetEngineWrapper 2017-05-17 16:48:07 +01:00
build.gradle Consolidate version codes in root gradle file 2017-04-18 19:42:27 +01: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