diff --git a/stream-chat-android-client/src/main/java/io/getstream/chat/android/client/audio/StreamAudioPlayer.kt b/stream-chat-android-client/src/main/java/io/getstream/chat/android/client/audio/StreamAudioPlayer.kt index 693581c1345..41328be1126 100644 --- a/stream-chat-android-client/src/main/java/io/getstream/chat/android/client/audio/StreamAudioPlayer.kt +++ b/stream-chat-android-client/src/main/java/io/getstream/chat/android/client/audio/StreamAudioPlayer.kt @@ -150,7 +150,9 @@ internal class StreamMediaPlayer( mediaPlayer.isSpeedSettable() ) { playingSpeed = newSpeed - mediaPlayer.speed = newSpeed + if (playerState == PlayerState.PLAYING) { + mediaPlayer.speed = newSpeed + } publishSpeed(currentAudioHash, newSpeed) } }