chore: migrate from expo-av to expo-audio and expo-video - #6719
chore: migrate from expo-av to expo-audio and expo-video#6719Rohit3523 wants to merge 293 commits into
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughMigrates audio and video usage from expo-av to expo-audio and expo-video across recording, playback, VoIP, ringer, previews, tests, and package dependencies, while updating seek and playback-status handling. ChangesExpo media migration
Estimated code review effort: 4 (Complex) | ~60 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Recording is not working... idk why... |
|
Android Build Available Rocket.Chat 4.75.0.109484 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNSvJTsy5k9ssHHPKey_G8zekwXkcBRL48cOMXYZpDLvJSE55L5lpqty9GgOCpoWvCaezIJOngcxDy0xLUUt |
|
iOS Build Available Rocket.Chat 4.75.0.109485 |
|
Android Build Available Rocket.Chat 4.76.0.109504 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNT8o5CTVGoU6889_W6QRx-ZFHVLMJdmmNqmpq7ahPdgjh8y01zYym3NZ4grxWeczZULdqo07HG_zA4nw8Ln |
|
iOS Build Available Rocket.Chat 4.76.0.109505 |
|
Android Build Available Rocket.Chat 4.76.0.109510 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNSnIRA5XX9VKv0K5ba0oaAm3bd56A8xZF1f5JCcIjgoE5xteqdmVXWtWLMmDRrhJUnhkplqoEahTzePbJSS |
|
iOS Build Available Rocket.Chat 4.76.0.109511 |
|
iOS Build Available Rocket.Chat 4.76.0.1 |
|
Android Build Available Rocket.Chat 4.76.0.1 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNQDPEhsVBBTkyRg_qAj9qGErObVRWKB6ThSxu38pGZgSz1LXm3uVAsWZeeSDFzEYKCmFRUi-sEOzJ4t6yHB |
|
Android Build Available Rocket.Chat 4.76.0.109533 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNQ5BkDZegCsqi5EwvE5yp16Iq-KdPtHuS0L9-4q3bCTG9u7xbrVgWKMqGqcjsxbsOh_pTAme1hYMi3_5ZWF |
|
iOS Build Available Rocket.Chat 4.76.0.109534 |
There was a problem hiding this comment.
On Android, we were previously using MediaPlayer through expo-av
Note: Above code is from develop branch
With the migration to expo-audio, the Android implementation switched to ExoPlayer and seeking stopped working for some audio files.
This patch enables constant-bitrate seeking in ExoPlayer, which fixes the seeking behavior for those files.
|
Android Build Available Rocket.Chat 4.77.0.109570 Internal App Sharing: https://play.google.com/apps/test/RQQ8k09hlnQ/ahAO29uNR_M8VrogC7yAKmJFAlAkHBnAMfbCt3UAJpZVBc1MjFI7_Y6Z_GoPlc_kPX06zC7U2DzjkwWkGldiytYQlN |
|
iOS Build Available Rocket.Chat 4.77.0.109571 |
Proposed changes
Issue(s)
https://rocketchat.atlassian.net/browse/CORE-2035
How to test or reproduce
Screenshots
Screen.Recording.2026-09-02.at.9.12.58.PM.mov
Screen.Recording.2026-09-02.at.9.14.02.PM.mov
Screen.Recording.2026-09-02.at.9.15.10.PM.mov
Screen.Recording.2026-09-02.at.9.14.32.PM.mov
Screen.Recording.2026-09-02.at.9.07.25.PM.mov
Screen.Recording.2026-09-02.at.9.08.28.PM.mov
Screen.Recording.2026-09-02.at.9.20.39.PM.mov
Screen.Recording.2026-09-02.at.9.22.15.PM.mov
Types of changes
Checklist
Further comments
Summary by CodeRabbit