drawRect / Instagram_Stories

Inspired by Instagram Stories functionality. This source is similar to Instagram Stories, which is having both image and video support.
MIT License
415 stars 76 forks source link

Video Cache support #68

Closed yunustek closed 3 years ago

yunustek commented 5 years ago

Is your feature request related to a problem? Please describe. Videos redownload from service when we reopen story.

Describe the solution you'd like It's got to be a video cache.

ranmyfriend commented 5 years ago

Hey @yunustek

Actually, we are started working on this video cache feature. Give us some time. Once we have implemented then we will let you know.

Best Ranjith

yunustek commented 5 years ago

Wow this is awesome! Thanks :)

ranmyfriend commented 5 years ago

@yunustek

We have implemented and pushed into this branch Boomi/VideoCache. Can you please checkout from this branch and let me know whether we full fill your requirement. Let me know if you are satisfied with this fix. Then we can merge into the master branch.

Best Ranjith

boominadhaprakash commented 5 years ago

Hi @yunustek

Have you checked? We are awaiting for your comments

yunustek commented 5 years ago

Sorry for late response. Thank you for this feature. I checkout your commits. As I understand it, when video played with successful, you will store to cache folder. If you find this video in cache folder, you load from there. We're using ExoPlayer in Android project. This library provide to real time caching. For example, video length is 10 second and user watch only 3 second. If user want to replay this video, Exoplayer loaded from cache 3 second and after download remaining video. Can we develop like this?

boominadhaprakash commented 5 years ago

@yunustek

This needs some R&D work. Sure we will try that. Let us share our feedback like its doable or not in two to three days.

Thanks, Boominadha Prakash

yunustek commented 5 years ago

Okay I am waiting. Thank you :)

ranmyfriend commented 5 years ago

Hi @yunustek We found some helper(https://github.com/neekeetab/CachingPlayerItem) to do this feature. We are trying the new implementation in small POC and let you know once it worked as we expected.

Thanks, Ranjith

ranmyfriend commented 3 years ago

Closing this issue. Because of not getting enough time to continue the development. and if we are doing it on the future. Will add this on the feature list.