Why AndroidVideoCache? Because there is no sense to download video a lot of times while streaming! AndroidVideoCache allows adding caching support to your VideoView/MediaPlayer, ExoPlayer or any other player with help of a single line! By default AndroidVideoCache uses MD5 of video URL as the file name. But in some cases url is not stable and it can contain some generated parts (e.g. session token). In this case caching mechanism will be broken. To fix it you have to provide your own FileNameGenerator. You can add custom headers to requests with help of HeadersInjector. Note AndroidVideoCache works only with direct urls to media file, it doesn't support any streaming technology like DASH, SmoothStreaming, HLS.

Features

  • Caching to disk during streaming
  • Offline work with cached resources
  • Partial loading
  • Cache limits (max cache size, max files count)
  • Multiple clients for same url
  • Use URL from proxy instead of original URL for adding caching

Project Samples

Project Activity

See All Activity >

Categories

Video

License

Apache License V2.0

Follow Video cache support for Android

Video cache support for Android Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Video cache support for Android!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Video Software

Registered

2021-11-30