-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cache HLS, Dash or SmoothStreaming? #19
Comments
@nano92 ExoPlayer hasn't native support for caching direct links. That is why you can use |
I was trying to cache a HLS video using your library but it can't seem to work. I have implemented the ExoPlayer on my application to play videos. Maybe I'm using wrong your library. Have you tried to cache HLS videos being played by ExoPlayer? |
It is impossible to use library for any adaptive streaming technology. You can use it only for direct links on video file. For adaptive streaming use ExoPlayer. |
I cannot cache HLS video with ExoPlayer, I was hoping to use your library for that purpose |
It is totally impossible. |
Oh well, thank you! |
AndroidVideoCache is pretty simple. It downloads video file from direct link and saves it as file on a disc. Any streaming protocol is more complex than 'file on internet'. Streaming servers divides file on chunks with different quality , describes them in special metadata and provides these chunks depends on internet channel. Obviously it is possible to implement caching (exoPlayer can) but it will has complex implementation. But I wanna keep my library as simple as possible. The second reason why I don't want implement caching for streaming is that has beean already implemented by Google in exoPlayer. |
It's worth noting that ExoPlayer does now provide support for caching "file on internet" type media. |
@ojw28 can you provide proof link? |
Support was added in google/ExoPlayer@bd7be1b. There's ongoing work/improvements being made to ExoPlayer's caching layer in general: |
@ojw28 really good news. Thanks. I think it should be mentioned in |
Hello, I was wondering if I can implement your library to cache HLS videos. Since it is written in the description that it can add caching support to ExoPlayer, I wanted to know if it was possible. thanks!
The text was updated successfully, but these errors were encountered: