Reset player error in PlayerState
This commit is contained in:
parent
0ddd49fd10
commit
ee2410b289
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ fun rememberPlayerState(
|
|||
}
|
||||
|
||||
override fun onPlaybackStateChanged(playbackState: Int) {
|
||||
playerState = playerState?.copy(playbackState = playbackState)
|
||||
playerState = playerState?.copy(playbackState = playbackState, error = player.playerError)
|
||||
|
||||
if (playbackState == Player.STATE_READY) {
|
||||
isSeeking = false
|
||||
|
|
Loading…
Add table
Reference in a new issue