Print pool stats whenever we fail to get an ExoPlayer instance.

This commit is contained in:
Alex Hart 2022-10-28 14:59:18 -03:00 committed by Cody Henthorne
parent 4220395649
commit c1ff2aeeff

View file

@ -140,7 +140,7 @@ abstract class ExoPlayerPool<T : ExoPlayer>(
pool[player] = poolState
player
} else {
Log.d(TAG, "Failed to get an ExoPlayer instance for tag: $tag")
Log.d(TAG, "Failed to get an ExoPlayer instance for tag: $tag :: ${poolStats()}")
null
}?.apply {
configureForVideoPlayback()