toro icon indicating copy to clipboard operation
toro copied to clipboard

Cache next videos before playback them

Open mamineayari opened this issue 6 years ago • 3 comments

Does Toro supports caching next videos before even playing them ? This way we get seamless transition. I know we can do that when using playlists (ConcatenatingMediaSource) in exoplayer. Thanks,

mamineayari avatar Aug 22 '18 15:08 mamineayari

There is request for preload lately. I'm aware of the need and will implement this in next major release (after 3.6.0 which comes later this month).

About using ConcatenatingMediaSource, I'm reading the article and doc to figure out how it would fit my design and how should I change the design to be more flexible. It may take some time so please wait ^^).

eneim avatar Aug 23 '18 00:08 eneim

https://github.com/danikula/AndroidVideoCache

Use this library, this will serve what you want to do

shubhubhosale avatar Aug 24 '18 16:08 shubhubhosale

@shubhubhosale how do I use it with these

private PlayerView playerView;
private ExoPlayerViewHelper  

And I also want this feature in this lib if that is possible.

devingDev avatar Aug 26 '18 08:08 devingDev