bvibber / audio-feeder

Small JS library to abstract Web Audio raw PCM output
Other
53 stars 7 forks source link

No sound in iOS when ringer is on silent #29

Open jareks opened 7 years ago

jareks commented 7 years ago

Brion, great thanks for your fantastic work!

I am using ogv.js along with audio-feeder and it works great with one exception. On iphone/safari when ringer is on mute (and media volume is enabled) the audio is not playing. You can replicate the issue on your demo page: https://brionv.com/misc/ogv.js/demo/

Quite possibly that's some iOS restriction, but please note that regular <audio> elements works fine when ringer is disabled.

Perhaps you have an idea what might be the root cause here?

aolsenjazz commented 4 years ago

For those who may stumble upon this in the future:

This is a feature of iOS. There exist libraries to bypass this "feature", including https://github.com/feross/unmute-ios-audio