mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 21:16:46 +01:00
Increases local video disk cache to 1GB
This commit is contained in:
@@ -34,7 +34,7 @@ import java.io.File
|
|||||||
|
|
||||||
@SuppressLint("UnsafeOptInUsageError")
|
@SuppressLint("UnsafeOptInUsageError")
|
||||||
class VideoCache {
|
class VideoCache {
|
||||||
var exoPlayerCacheSize: Long = 150 * 1024 * 1024 // 150MB
|
var exoPlayerCacheSize: Long = 1000 * 1024 * 1024 // 1GB
|
||||||
|
|
||||||
var leastRecentlyUsedCacheEvictor = LeastRecentlyUsedCacheEvictor(exoPlayerCacheSize)
|
var leastRecentlyUsedCacheEvictor = LeastRecentlyUsedCacheEvictor(exoPlayerCacheSize)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user