Audio pop when is playing for the first time in the Rive file

Open
#320 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ios, swift

Research direction

Start with the reproduction project at https://github.com/Ursula-AI/rive-ios-nested-artboard-bug and run its iOS project using the included .riv and .rev files on the reported simulator or iPhone 13 setup. Trace the first audio playback and subsequent frame processing; done means the first audio playback has no pop and subsequent frames do not get stuck.

Written by the indexing model from the issue text.

Description

Description

App glitches when is playing audio for the first time in the Rive file, that causes the subsequents frames to stuck too. Not sure what is the problem, maybe it is blocking the main thread when is loading an audio?

Provide a Repro

https://github.com/Ursula-AI/rive-ios-nested-artboard-bug

(contains .riv, .rev & ios project that will repro the issue)

Expected behavior

Audio not pop when plays

Device & Versions
  • Device: iOS Simulator, iPhone 13
  • iOS version: 17.4
Dominant language
Swift
Stars
822
Forks
104
PR merge metrics
No merged PRs in 30d

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.

More from rive-app/rive-ios

All issues in rive-app/rive-ios

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.