Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible for API to customize filenameGenerator and cache file destination? #146

Closed
flyinghawker opened this issue Jan 4, 2021 · 1 comment

Comments

@flyinghawker
Copy link

As idea from AndroidVideoCache, providing filenameGenerator and storageStrategy is very practical for different types of videos or audio, such as type of normal feed or that for message, which require local permanent storage. Thanks for your job any way!

@flyinghawker
Copy link
Author

KTVHCDataNetworkSource
-> (void)ktv_download:(KTVHCDownload *)download didReceiveResponse:(KTVHCDataResponse *)response
-> NSString *path = [KTVHCPathTool filePathWithURL:self.request.URL offset:self.request.range.start];
here is the entry to configure custom cache destination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant