olly aa1002a0d6 Rollback "Add REQUIRE_HTTPS flag"
*** Reason for rollback ***

Flag doesn't enforce what it says it enforces, due to redirects

*** Original change description ***

Add REQUIRE_HTTPS flag

Note that it's not possible for the library to enforce that
the flag is adhered to, since it's possible for applications
to inject custom implementations of DataSource (there's no
requirement they even extend HttpDataSource for network
requesting implementations). It's possible for applications
to replace pretty much anything in the library, so there's
no other place we could put the flag where we could make
this guarantee. Hence this is a best-effort that will work
when...

***

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136583459
2016-10-19 17:00:03 +01:00
..
2016-08-31 15:25:31 +01:00
2016-08-31 15:25:31 +01:00
2016-10-19 17:00:03 +01:00
2016-09-02 16:12:55 +01:00
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