Streaming video as well as caching it for future playback on Android

It is very easy to use video review to stream video from uri. The problem is that the next time the user wants to watch this video, they will start streaming again. I would like to be able to download videos so that future replays can be done offline. I guess the problem is that the download is not happening in the background, and if the user navigates, the "download" will be canceled.

Another way to do this is to create your own streaming engine. I would start downloading video files in the background, using video input to play the partially downloaded file while it is downloading. I'm not sure if searching or showing the buffering will work in this case.

Any ideas?

Thank.

+3


source to share


1 answer


I know it can be done. Just not sure how to do this. I had an app called vplayer that was used to do this, but when I rooted and reinstalled it on my Nexus 7, the app disappeared and could no longer be loaded. There are some codecs for the app floating in the Play Store but not the original smh app.



0


source







All Articles