How can we cache HLS video url once streamed
问题 I am using exomedia library to play video through hls. I want to cache video as the video gets streamed. AndroidVideoCache library do this job well but it doesn't support HLS . 回答1: It can be done by configuring the okhttp client used by the Exomedia library. First we need provide custom renderbuilder to emvideoview by using setVideoUri(uri,renderbuilder) method. In order to provide custom hls render builder we need to override HlsRenderBuilder class and override createDataSource method. Here