shaka-player-embedded
shaka-player-embedded copied to clipboard
HTTP caching of segments
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.
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.