Increases the number of active playbacks on the screen
This commit is contained in:
+1
-1
@@ -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