No sound on android in a browser build

I've exported my game to web browsers, and put it on gj. It works perfectly on my pc, but there's no sound when I try to run it on mobile. I've exported all sound files to .m4a, all of them are in both .ogg and .m4a. The browser itself isn't muted, I don't know what to do, I think I've tried everything.


Link (the build on the very bottom):

Thanks in advance
I've exported all sound files to .m4a,
how did you do this?

That behaviour can be caused by using an exotic codec that is unknown to the android devices, especially if you tried to get the compression to max while using older android versions.
It looks like your m4a can't be decoded by the browser, for some reason.
how did you do this?

That behaviour can be caused by using an exotic codec that is unknown to the android devices, especially if you tried to get the compression to max while using older android versions.
I used freac, I'll check what settings I used specifically when I get home. Can I check what codec a file is using on w10 by just checking the details or do I need some fancy program?

I'll check what settings I used specifically when I get home.
I used apple lossless encoder, as the converter from .ogg to .m4a. Should I use a different one?

You can check the document here.

The Apple Lossless Audio Codec (ALAC or Apple Lossless) is a lossless codec developed by Apple. After initially being a closed format, Apple opened it up under an Apache license.

Cross-platform and browser support for ALAC is not very strong, making it a less than ideal choice for general usage. However, if your target is primarily macOS and iOS users, it may be worth considering, as the operating systems have integrated support for ALAC. Otherwise, FLAC is likely a better choice, if you must use a lossless codec.

You can check the document here.
The thing is, when I export using FLAC, the files get the .flac format, not .m4a. I can't really change any of it manually, because my game uses over 1 thousand sound files total
Hmm, you don't have to use a lossless format.
I just checked the m4a files in MV's default resource package.
So it uses one of the AAC variants.

1731422345223.png
Hmm, you don't have to use a lossless format.
I just checked the m4a files in MV's default resource package.
So it uses one of the AAC variants.

View attachment 322837
I'm... not sure what that means lol... I only found out about something such as "codecs" yesterday, before that i thought format it everything there is to the way an audio file is coded

My options for exporting sounds are:
Apple Lossless Encoder
FDK-AAC v4.0.1
FLAC v1.4.2
SNDFILE 1.2.0
Lame mp3 encoder v3.100
"Meh!"
Monkey's audio encoder v9.20
Musepack audio encoder
Ogg vorbis encoder (The only one i'm actually kind of familiar with? I've seen the name before)
Optimfrog Lossless Encoder
Opus audio encoder
Speex Speech encoder
Tom's Audiokompressor
Wavpack audio encoder
Windows media audio encoder
Windows wave file output


Should I try the FDK-ACC first?
You can try if it works. Just drag the m4a you generated into chrome to see if it plays.
Or you can google an online converter.
FDK-ACC m4a files worked perfectly, thanks a lot


TL;DR for anyone searching for the solution in the future:
Just use FDK-ACC instead of Apple Lossless Encoder
please delete this unwanted duplicate post which I am prevented from removing
Which program are you using to do the file conversion? Which file are you converting to m4a from? Thanks.
FDK-ACC m4a files worked perfectly, thanks a lot


TL;DR for anyone searching for the solution in the future:
Just use FDK-ACC instead of Apple Lossless Encoder

Original thread: https://forums.rpgmakerweb.com/threads/no-sound-on-android-in-a-browser-build.173169/