优化
This commit is contained in:
1 parent
ec7e7689d3
commit
45b29a3b6b
2 files changed
+5
-3
No files matched your search
@@ -135,7 +135,7 @@ class HttpReadAloudService : BaseReadAloudService(),
|
||||
launch(Main) {
|
||||
exoPlayer.addMediaItem(mediaItem)
|
||||
if (!exoPlayer.isPlaying && nowSpeak == index) {
|
||||
exoPlayer.playWhenReady = true
|
||||
exoPlayer.playWhenReady = !pause
|
||||
exoPlayer.prepare()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user