RocketChat / RocketChat/Rocket.Chat.ReactNative

bug(iOS): audio player seekbar does not update position and time after manually moving

Open
#6,871 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Describe the Bug

When playing audio, manually dragging the seek bar does not update its position, and the playback time also remains unchanged. The seek bar appears to stay frozen while audio plays correctly from the time of progress

This unexpected behavior occurs only on iOS. On Android, the seek bar and playback time update correctly when seeking.

Steps to Reproduce
  1. Open the app on iOS.
  2. Navigate to any room.
  3. Play an audio message.
  4. Drag the seek bar to any position to seek the audio.
  5. Observe the seek bar position and the displayed playback time.
  6. Observe that the audio continues playing.
Expected Behavior

seek bar and playback time should update as per audio playback progress

Actual Behavior

seekbar and time freezes at the point when user releases seekbar

Rocket.Chat Server Version

lastest: docker-compose image

Rocket.Chat App Version

4.68.0

Device Name

iPhone 17 Pro simulator

OS Version

iOS 26

Additional Context

This strange behaviour happens only on iOS and works correctly on android

Screenshots

https://github.com/user-attachments/assets/b0308ce9-b097-4af0-bcc5-2ce3349f914c

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the audio-message seek behavior on iOS, then compare the seekbar and playback-time updates with Android. Trace the audio player and seekbar entry points used after manually dragging, and consider the work done when playback progress updates both the position and displayed time after seeking on iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
audio-video-rtc, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.