How to prevent the exoplayer from reloading in case of seek backward?

独自空忆成欢 提交于 2019-11-29 20:46:02

问题


I am using exoplayer to play mp3 tracks. All good. If the track is completely buffered then in case of seek forward it does not reload as expected. However, in case of seek backward it reloads. How do i prevent that? Is it a bug in exo?


回答1:


Not really a solution, but you can use a library that acts as a proxy between ExoPlayer and the video URL like AndroidVideoCache. It downloads the video to disk and supplies ExoPlayer with the local file URL so re-buffering is much faster.



来源:https://stackoverflow.com/questions/32837803/how-to-prevent-the-exoplayer-from-reloading-in-case-of-seek-backward

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!