How to prevent exoplayer from reloading in case of backward search?

I am using exoplayer to play mp3 tracks. Things are good. If the track is fully buffered, then in the case of a forward search, it does not restart, as expected. However, if you search back, it restarts. How can I prevent this? Is this a bug in exo?

+5
source share
1 answer

This is actually not a solution, but you can use a library that acts as a proxy between ExoPlayer and the video URL, for example AndroidVideoCache . It downloads the video to disk and delivers ExoPlayer with the local file URL, so re-buffering is much faster.

0
source

Source: https://habr.com/ru/post/1232511/


All Articles