# danikula/AndroidVideoCache

Cache support for any video player with help of single line

Repository: https://github.com/danikula/AndroidVideoCache
Canonical: https://ross.abutalabs.com/products/androidvideocache
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, video, cache
Last push: 2023-03-14T18:23:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4172, "days_push": 1268, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5485, forks 1176 (observed 2026-08-28T04:09:19.738954+00:00)

## What it is
AndroidVideoCache is a Java library that adds disk caching to any Android video player (VideoView, MediaPlayer, ExoPlayer) via a local HTTP proxy server, requiring only a single line to swap the video URL. It supports streaming-to-disk caching, offline playback, partial loading, cache size limits, and multiple clients for the same URL.

## Use cases
- cache streamed videos on android so they don't download repeatedly
- make video playback work offline after first view
- add caching to videoview or exoplayer with minimal code
- limit disk space used by cached video files
- share one cached video stream across multiple players

## When to choose
- your android app streams direct media file urls and you want transparent disk caching
- you need offline replay of previously watched videos
- you want cache limits and progress listening for video downloads

## When to avoid
- you stream adaptive formats like HLS, DASH, or SmoothStreaming - only direct media urls are supported
- you need an actively maintained solution - the project is in maintenance with known unresolved issues
- you use ExoPlayer, which has built-in caching support

## Facets
- artifact type: library
- maturity: maintenance
- function: caching, video-processing, proxy, http-server
- domain: android-tools, media, mobile-development
- platform: jvm
- tags: video-cache, local-proxy, mediaplayer, exoplayer, offline-playback, video, android, mobile

## Member repositories
- danikula/AndroidVideoCache (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:19.738954+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:56:22.349797+00:00, confidence not recorded.
  - readme: https://github.com/danikula/AndroidVideoCache (fetched 2026-08-28T04:09:19.738954+00:00, sha 5646c835b2c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
