shaka-player-embedded icon indicating copy to clipboard operation
shaka-player-embedded copied to clipboard

HTTP caching of segments

Open bnge opened this issue 6 years ago • 1 comments
trafficstars

Is there any way to configure HTTP caching of segments in Shaka Player Embedded? If not, is it possible to get some pointers on how this could be implemented?

I'm trying to cater for the use case where a user plays the same content multiple times. By having a HTTP cache, preferably with a configurable size and a LRU eviction algorithm, we might not have to make any network calls for playing content a user has played recently, which would be beneficial for the user experience as playback start up time could be very short.

bnge avatar Jun 23 '19 12:06 bnge

We don't handle any caching, but that should be something we can add. If you're interested in adding it, you should look at the NetworkThread and XMLHttpRequest.

TheModMaker avatar Jun 25 '19 21:06 TheModMaker