ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

ExoPlayer cache

Open vmtrue opened this issue 12 years ago • 8 comments

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.

vmtrue avatar Sep 29 '14 08:09 vmtrue

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.

ojw28 avatar Oct 02 '14 14:10 ojw28

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

ilansas avatar Feb 24 '15 15:02 ilansas

Does anyone have an example on how to use CacheDataSource on HLS ?

jjvargas avatar Feb 25 '15 14:02 jjvargas

It's not possible to do this (yet). I've filed a tracking issue here: #322.

ojw28 avatar Feb 25 '15 14:02 ojw28

Are you sure ? Because the doc seems to say it's possible, just there are no example on the Internet...

ilansas avatar Feb 25 '15 15:02 ilansas

Yes, I am sure.

ojw28 avatar Feb 25 '15 15:02 ojw28

Did a failed implementation that was looking good. Still investigating it. If you want to know more see this thread

voghDev avatar Oct 05 '15 11:10 voghDev

@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

master255 avatar Oct 05 '15 13:10 master255