progressive_video_cache 1.1.0
progressive_video_cache: ^1.1.0 copied to clipboard
Progressive file-based video caching for Flutter Reels apps. Play from growing local files with instant offline playback.
Changelog #
1.1.0 #
Added #
network_types.dartfor sharedNetworkTypeandPrefetchConfig- Live HLS playlist refresh with backoff
- Download scheduling queue to enforce concurrency limits
Changed #
- Prefetch configuration now uses
NetworkQualityMonitorby default - Cache eviction and size accounting now include HLS segment directories
- Cache metadata persistence now happens periodically, not only on completion
Fixed #
- Resume download corruption when servers ignore
Rangerequests - Cancellation now aborts network streams to reduce wasted bandwidth
- HLS segment downloader no longer loops indefinitely after completion
- MP4 metadata reconciles with on-disk file sizes at startup
- Unused parameter warnings in private HLS download state constructors
1.0.0 #
progressive_video_cache
Breaking Change: Complete Architecture Refactor
Now uses progressive file-based caching.
Added #
ReelPrefetchController- Scroll-aware prefetch with concurrency controlProgressiveDownloader- HTTP stream → growing fileCacheFileManager- Path resolution and file operationsCacheMetadataStore- Download progress tracking with persistenceHlsCacheManager- HLS/M3U8 caching with segment-based progressive downloadHlsParser- Parse master and media playlistsNetworkQualityMonitor- Bandwidth estimation and network type detection- Adaptive prefetching configuration based on network quality
Changed #
- Videos now play from local files via
VideoPlayerController.file() - Offline playback works with cached bytes
- Downloads resume from last byte
- Dependencies reduced from 7 to 2 (crypto, path_provider)