ExoPlayer cache
Can give me sample how cache video. And How do play video from cache. I have found CacheDataSource, but I don't know how it use.
ExoCache is currently fairly limited. If you happen to be making only bounded range requests to the network (as is the case for some DASH implementations) then it's awesome. Otherwise it's pretty much not useful in its current form.
@fisher3421 did you finally make it ? I'm interested in this, I spent the all day searching for an answer, but didn't find anything on cache subject in ExoPlayer...
Does anyone have an example on how to use CacheDataSource on HLS ?
It's not possible to do this (yet). I've filed a tracking issue here: #322.
Are you sure ? Because the doc seems to say it's possible, just there are no example on the Internet...
Yes, I am sure.
Did a failed implementation that was looking good. Still investigating it. If you want to know more see this thread
@voghDev hey i wrote a super proxy named ImmortalPlayer for resolving this problem! This sample code can use with any player. Enjoy: https://github.com/master255/ImmortalPlayer