mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-23 23:10:58 +02:00
Reduces video cache from 10 to 4 videos.
This commit is contained in:
parent
45974fb09b
commit
99850573f7
@ -46,7 +46,7 @@ class MultiPlayerPlaybackManager(
|
||||
private val playingMap = mutableMapOf<String, MediaSession>()
|
||||
|
||||
private val cache =
|
||||
object : LruCache<String, MediaSession>(10) { // up to 10 videos in the screen at the same time
|
||||
object : LruCache<String, MediaSession>(4) { // up to 4 videos in the screen at the same time
|
||||
override fun entryRemoved(
|
||||
evicted: Boolean,
|
||||
key: String?,
|
||||
|
Loading…
x
Reference in New Issue
Block a user