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
Categories
VideoLicense
Apache License V2.0Follow Video cache support for Android
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Video cache support for Android!