Code Monkey home page Code Monkey logo

Comments (4)

VeinGuo avatar VeinGuo commented on August 24, 2024

@kennybuc Hi,thanks for using my project.

  1. VGPlayerCacheManager.cacheFilePath(for: url) can get to the video cache file path.
  2. Can not close the automatic cache, the next version I will add Bool parameters to set.
  3. 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.

image

image
The picture is from VIMediaCache

The cache is implemented by AVAssetResourceLoaderDelegate, which is cached.
AVAssetResourceLoaderDelegate

from vgplayer.

kennybuc avatar kennybuc commented on August 24, 2024

@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.

VeinGuo avatar VeinGuo commented on August 24, 2024

@kennybuc If you download the manual, the download is complete, play the local file, VGPlayer will not do the cache.

from vgplayer.

kennybuc avatar kennybuc commented on August 24, 2024

@VeinGuo Thanks for explanation and support. I appreciate!

from vgplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.