
*** 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
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:
- Find the latest Cronet release here and navigate to its
Release/cronet
directory - Download
cronet.jar
,cronet_api.jar
and thelibs
directory - Copy the two jar files into the
libs
directory of this extension - Copy the content of the downloaded
libs
directory into thejniLibs
directory of this extension
- In ExoPlayer's
settings.gradle
file, uncomment the Cronet extension