toro icon indicating copy to clipboard operation
toro copied to clipboard

Preload multiple videos

Open cubatertech opened this issue 8 years ago • 5 comments

Hi,

I need to be able to preload/prebuffer mutiple video streams (standard mp4 streams) before playing them so that they will start instantly. I need to be able to that while another Video is playing. Is this possible? How do I do that?

Thanks a lot for this great library!

cubatertech avatar Apr 11 '17 00:04 cubatertech

@cubatertech This produces performance issue before, so I discourage it. If you really want to do that, you can manually call playerView.setMediaSource(mediaSource, false) in ViewHolder's bind method.

eneim avatar Apr 12 '17 01:04 eneim

I have actually the same need. Do you use more than one playerinstance?

escamoteur avatar May 31 '17 10:05 escamoteur

@escamoteur What I can say now is I'm re-designing Toro with this use case in mind. It is not easy though, since having multi player at once is not a good practice. So my problem to solve is to have a way to safely setup the preload and fallback for old devices. Any investigation is also welcome :D.

eneim avatar Jun 02 '17 02:06 eneim

@eneim Any progress on this issue? I really need this feature

premacck avatar Feb 25 '18 19:02 premacck

any update for this issue @eneim

aderinto05 avatar Aug 14 '18 11:08 aderinto05