E
10d ago

New web runtime is trying to setup AudioContext before user interaction

Browsers don't allow audio context without user interacting first. I have a riv file on the site, it has no sound, but when I load it with latest version of rive, it spams console with AudioContext was not allowed to start.
I think Rive could handle this more eloquently, like adding a global listener for click and other eligible events to set up the AudioContext for the first time.

EDIT: And it keeps going up, if all you do is scroll without clicking 😂

4 replies
M
S
S
10d ago

Thanks for the report, will share this with our developers.

M
2d ago
S
2d ago

Hi Let me check with our engineers.

S
(edited) 2d ago

Good news! It was fixed on Tuesday's release. We are no longer requesting the AudioContext if the rive file doesn't have audio. Let me know if you still have any problem. Cheers!