All Projects → vitoziv → Vimediacache

vitoziv / Vimediacache

Licence: mit
Cache media file while play media using AVPlayer

Projects that are alternatives of or similar to Vimediacache

Fwplayer
A video player SDK for iOS, it is based on AVPlayer. https://se.linkedin.com/in/foks-huiwang, https://fokswang.wixsite.com/home
Stars: ✭ 321 (-57.65%)
Mutual labels:  cache, avplayer
Offix
GraphQL Offline Client and Server
Stars: ✭ 694 (-8.44%)
Mutual labels:  cache
Flask Caching
A caching extension for Flask
Stars: ✭ 582 (-23.22%)
Mutual labels:  cache
Laravel Repositories
[ABANDONED] Rinvex Repository is a simple, intuitive, and smart implementation of Active Repository with extremely flexible & granular caching system for Laravel, used to abstract the data layer, making applications more flexible to maintain.
Stars: ✭ 664 (-12.4%)
Mutual labels:  cache
Httpcache
A Transport for http.Client that will cache responses according to the HTTP RFC
Stars: ✭ 603 (-20.45%)
Mutual labels:  cache
Universal
Seed project for Angular Universal apps featuring Server-Side Rendering (SSR), Webpack, CLI scaffolding, dev/prod modes, AoT compilation, HMR, SCSS compilation, lazy loading, config, cache, i18n, SEO, and TSLint/codelyzer
Stars: ✭ 669 (-11.74%)
Mutual labels:  cache
Valuestore
Easily store some values
Stars: ✭ 560 (-26.12%)
Mutual labels:  cache
React Native Img Cache
Image Cache for React Native
Stars: ✭ 724 (-4.49%)
Mutual labels:  cache
Ghostdb
GhostDB is a distributed, in-memory, general purpose key-value data store that delivers microsecond performance at any scale.
Stars: ✭ 690 (-8.97%)
Mutual labels:  cache
Retrofitcache
RetrofitCache让retrofit2+okhttp3+rxjava配置缓存如此简单。通过注解配置,可以针对每一个接口灵活配置缓存策略;同时让每一个接口方便支持数据模拟,可以代码减小侵入性,模拟数据可以从内存,Assets,url轻松获取。
Stars: ✭ 647 (-14.64%)
Mutual labels:  cache
Cache Loader
[DEPRECATED] Caches the result of following loaders on disk
Stars: ✭ 630 (-16.89%)
Mutual labels:  cache
Versaplayer
Versatile Video Player implementation for iOS, macOS, and tvOS
Stars: ✭ 608 (-19.79%)
Mutual labels:  avplayer
Reservoir
Android library to easily serialize and cache your objects to disk using key/value pairs.
Stars: ✭ 674 (-11.08%)
Mutual labels:  cache
Axios Extensions
🍱 axios extensions lib, including throttle, cache, retry features etc...
Stars: ✭ 594 (-21.64%)
Mutual labels:  cache
Dataloader
Implementation of Facebook's DataLoader in Golang
Stars: ✭ 703 (-7.26%)
Mutual labels:  cache
Carlos
A simple but flexible cache
Stars: ✭ 564 (-25.59%)
Mutual labels:  cache
Boltons
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
Stars: ✭ 5,671 (+648.15%)
Mutual labels:  cache
Nebulex
In-memory and distributed caching toolkit for Elixir.
Stars: ✭ 662 (-12.66%)
Mutual labels:  cache
Rome
Carthage cache for S3, Minio, Ceph, Google Storage, Artifactory and many others
Stars: ✭ 724 (-4.49%)
Mutual labels:  cache
Xmemcached
High performance, easy to use multithreaded memcached client in java.
Stars: ✭ 715 (-5.67%)
Mutual labels:  cache

VIMediaCache

中文说明

Cache media file while play media using AVPlayerr.

VIMediaCache use AVAssetResourceLoader to control AVPlayer download media data.

CocoaPods

pod 'VIMediaCache'

Usage

Objective C

NSURL *url = [NSURL URLWithString:@"https://mvvideo5.meitudata.com/571090934cea5517.mp4"];
VIResourceLoaderManager *resourceLoaderManager = [VIResourceLoaderManager new];
self.resourceLoaderManager = resourceLoaderManager;
AVPlayerItem *playerItem = [resourceLoaderManager playerItemWithURL:url];
AVPlayer *player = [AVPlayer playerWithPlayerItem:playerItem];

Swift

let url = URL(string: "https://mvvideo5.meitudata.com/571090934cea5517.mp4")
let resourceLoaderManager = VIResourceLoaderManager()
let playerItem = resourceLoaderManager.playerItem(with: url)
let player = AVPlayer(playerItem: playerItem)

Contact

[email protected]

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].