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

HLS caching #2830

Open
lnxct opened this issue Aug 26, 2022 · 4 comments
Open

HLS caching #2830

lnxct opened this issue Aug 26, 2022 · 4 comments
Labels

Comments

@lnxct
Copy link

lnxct commented Aug 26, 2022

Feature Request

HLS caching

Why it is needed

It continues to hit the CDN URL even after playing one time.
so it is increased cost, use of user's data continues.

Possible implementation

hls caching allow to the storage of .ts and m3u8 file.

@flexgrip
Copy link

I'm unsure what RNV would have to do with this. Caching hls would be pretty tough on storage requirements. And it's not a good format for storage. Just for streaming.

Also, iOS natively caches chunks for quicker timeline scrubbing.

But no. I don't think rnv should be responsible for this. I have an app that lets the user stream a video, or download it for later. If I made it automatically store the videos, they'd fill up their storage quick.

@evoactivity
Copy link
Contributor

@flexgrip just so you are aware, caching is something that is being worked on for android in this branch #2708

I don't think the idea is to store everything forever, rather they stick around for the session and the cache size is limited

@nguyenvanphituoc
Copy link

hello, I have implement hls cache, that suitable with react-native-video: https://github.com/nguyenvanphituoc/react-native-cache-video#readme

@IslamRustamov
Copy link
Contributor

Here is the PR into this repo that enables it #4272 for android

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

No branches or pull requests

6 participants