ExoPlayerCacheProvider
interface ExoPlayerCacheProvider
To be implemented to provide ExoPlayer with caching ability.
Inheritors
Functions
Link copied to clipboard
Computes a unique cache key for the resource of publication at url . It can be an absolute URL or a mix of url with some publication identifier.
Link copied to clipboard
fun ExoPlayerCacheProvider.createCacheDataSourceFactory(publication: Publication): CacheDataSource.Factory?
Link copied to clipboard
Returns the cache to use or null if caching is not necessary with the given publication.