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 cdc86ca3019..693581c1345 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 @@ -146,7 +146,9 @@ internal class StreamMediaPlayer( currentSpeed + SPEED_INCREMENT } - if (playerState == PlayerState.PLAYING && mediaPlayer.isSpeedSettable()) { + if ((playerState == PlayerState.PLAYING || playerState == PlayerState.PAUSE) && + mediaPlayer.isSpeedSettable() + ) { playingSpeed = newSpeed mediaPlayer.speed = newSpeed publishSpeed(currentAudioHash, newSpeed)