quality in exoplayer
This commit is contained in:
parent
26575cfa0d
commit
f6db690454
2 changed files with 47 additions and 41 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue