quality in exoplayer

This commit is contained in:
aayush262 2024-01-26 19:36:46 +05:30
parent 26575cfa0d
commit f6db690454
2 changed files with 47 additions and 41 deletions

View file

@ -1598,7 +1598,7 @@ class ExoplayerView : AppCompatActivity(), Player.Listener, SessionAvailabilityL
aspectRatio = Rational(width, height)
videoInfo.text = "$width x $height"
videoInfo.text = "Quality: ${height}p"
if (exoPlayer.duration < playbackPosition)
exoPlayer.seekTo(0)