Configure pooled players for video playback by default.
This commit is contained in:
parent
748dbc2ba5
commit
524adcb6a4
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@ abstract class ExoPlayerPool<T : ExoPlayer>(
|
||||||
} else {
|
} 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")
|
||||||
null
|
null
|
||||||
|
}?.apply {
|
||||||
|
configureForVideoPlayback()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue