Open Bug 1830473 Opened 3 years ago Updated 2 years ago

call decodeAudioBuffer on ogg buffers more then 40 times quickly will always fail

Categories

(Core :: Audio/Video, defect)

Firefox 112
All
Android
defect

Tracking

()

UNCONFIRMED

People

(Reporter: alynx.zhou, Unassigned)

Details

Steps to reproduce:

I am creating a piano app on https://piano.alynx.one/, it fetches a JSON file, and get 49 base64 encoded ogg audio for different piano keys. Then I decode base64, and use AudioContext.decodeAudioBuffer() in a loop to decode those ogg buffer into audio buffer.

Actual results:

I always get DOMException: The buffer passed to decodeAudioData contains invalid content which cannot be decoded successfully. for the last 9 buffers. If I sort the buffer in another sequence, still the last 9 buffers failed, but different buffers.

Expected results:

All ogg buffers are decoded into audio buffers without error. I tested Firefox on Linux and Chrome on Android, they all work.

Oh, this only happens on Firefox Android (Fenix).

Further steps I did and results:

The severity field is not set for this bug.
:jonalmeida, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jonalmeida942)
Component: General → Media
Flags: needinfo?(jonalmeida942)
Product: Fenix → GeckoView

media team?

Component: Media → Audio/Video
Product: GeckoView → Core

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.