mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-07-22 06:12:52 +02:00
Increases the number of active playbacks on the screen
This commit is contained in:
@ -49,7 +49,7 @@ class MultiPlayerPlaybackManager(
|
|||||||
private val playingMap = mutableMapOf<String, MediaSession>()
|
private val playingMap = mutableMapOf<String, MediaSession>()
|
||||||
|
|
||||||
private val cache =
|
private val cache =
|
||||||
object : LruCache<String, MediaSession>(10) { // up to 10 videos in the screen at the same time
|
object : LruCache<String, MediaSession>(20) { // up to 10 videos in the screen at the same time
|
||||||
override fun entryRemoved(
|
override fun entryRemoved(
|
||||||
evicted: Boolean,
|
evicted: Boolean,
|
||||||
key: String?,
|
key: String?,
|
||||||
|
Reference in New Issue
Block a user