mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
*** 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 |
||
|---|---|---|
| .. | ||
| jniLibs | ||
| libs | ||
| src | ||
| build.gradle | ||
| README.md | ||
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/cronetdirectory - Download
cronet.jar,cronet_api.jarand thelibsdirectory - Copy the two jar files into the
libsdirectory of this extension - Copy the content of the downloaded
libsdirectory into thejniLibsdirectory of this extension
- In ExoPlayer's
settings.gradlefile, uncomment the Cronet extension