MasterExoPlayer icon indicating copy to clipboard operation
MasterExoPlayer copied to clipboard

Does this library have cache support?

Open uzaysan opened this issue 6 years ago • 5 comments

Does this library cache vides and olay cached videos arter first olay or download video every time?

İf it doesnt have cache support how can i add it?

uzaysan avatar Jan 30 '20 08:01 uzaysan

You can support caching of video url using this library https://github.com/danikula/AndroidVideoCache

Instead of directly sending your video url to exoplayerhelper, send proxy url which comes from above library.

pankaj89 avatar Jan 30 '20 08:01 pankaj89

İm using this library but its old and doesnt work as expected on New android versions and doesnt work properly when connection is slow.

Do you planning to add cache support to this library? İ know exoplayer has cache feature itself but im dont have the information and experience to implement it by myself?

uzaysan avatar Jan 30 '20 10:01 uzaysan

Yes that is in my plan list and also implemented some of the stuff, but need to test and refactor based on new feature.

pankaj89 avatar Jan 30 '20 11:01 pankaj89

Ok im waiting for it. Do you have a date in your mind? Like it will ve ready in one week or month?

uzaysan avatar Jan 30 '20 11:01 uzaysan

Hello, I tried to implement this https://proandroiddev.com/video-preloading-precaching-using-exoplayer2-in-android-da340cc268d9 maybe it can help you.

MogiLogi avatar Dec 02 '20 19:12 MogiLogi