Comments (4)
@kennybuc Hi,thanks for using my project.
VGPlayerCacheManager.cacheFilePath(for: url)
can get to the video cache file path.- Can not close the automatic cache, the next version I will add Bool parameters to set.
- The cache consists of two files, the video file and the cache progress file to save the video file to download the segment progress size, and if the user opens the application while downloading the application, the application is played again from the breakpoint.
The picture is from VIMediaCache
The cache is implemented by AVAssetResourceLoaderDelegate
, which is cached.
AVAssetResourceLoaderDelegate
from vgplayer.
@VeinGuo So I want to know what happens when I manually download the video file to the cache file path?
For example, I'm going to add download button which downloads the video from url to the cache file path. I'm wondering if this can cause an issue to your library while your library may try to download the video the the same path at the same time while playing.
Can you please let me know?
Thanks!
from vgplayer.
@kennybuc If you download the manual, the download is complete, play the local file, VGPlayer will not do the cache.
from vgplayer.
@VeinGuo Thanks for explanation and support. I appreciate!
from vgplayer.
Related Issues (20)
- 只希望视频页面能横屏,其他都是竖屏(所以不能全局设置打开landscope Right)。请问这种情况怎么处理呢
- Hide controller by swiping down/up (Gestures)
- does your lib support rstp/rtmp?
- Back button stops working after some rotations HOT 2
- Need to override controls
- xcode 10 HOT 4
- VGPlayer_ic_slider_thumb图片的地方显示UIImage为nil,然后就崩溃了 HOT 3
- Video is not playing
- 什么时候可以支持4.2 HOT 1
- 你好,可以设置循环播放吗?
- Converting non-escaping value to 'Any' may allow it to escape HOT 4
- 全屏播放时,声音、亮度和快进手势有冲突
- Video sound output is earpiece
- UIAlertController is not Getting Dismissed in some Cases
- Swift 4.2 VGPlayer via pod not support ? HOT 1
- Issue: There is no sound some times HOT 2
- How to use Subtitle ?
- How to stop animation when adding default display view in playerview
- Full screen in portrait App HOT 1
- mp4不能播放 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vgplayer.