make exoplayer be recreatable
This commit is contained in:
parent
4fb5d46b2d
commit
4de5568b7b
|
@ -276,6 +276,9 @@ class NewPlayerImpl(
|
|||
playBackMode.update {
|
||||
PlayMode.IDLE
|
||||
}
|
||||
mutableExoPlayer.update {
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
private fun internalPlayStream(mediaItem: MediaItem, playMode: PlayMode) {
|
||||
|
|
Loading…
Reference in New Issue