Always call prepare before starting playback,
otherwise resuming playback is difficult when the session was dismissed...
This commit is contained in:
parent
669b51c0d2
commit
608f86ac5f
|
@ -283,6 +283,7 @@ class MediaPlayerController(
|
|||
if (jukeboxMediaPlayer.isEnabled) {
|
||||
jukeboxMediaPlayer.start()
|
||||
} else {
|
||||
controller?.prepare()
|
||||
controller?.play()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue