Increases the number of active playbacks on the screen

This commit is contained in:
Vitor Pamplona 2025-01-02 10:52:17 -05:00
parent c6869eaff6
commit 2772bdff8b

View File

@ -49,7 +49,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>(20) { // up to 10 videos in the screen at the same time
override fun entryRemoved(
evicted: Boolean,
key: String?,