This commit is contained in:
Horis committed 2023-06-20 19:39:22 +08:00
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()
}
}