Open mronline opened 5 years ago
No, I don't think this is possible in iOS! If you find any resources that suggest otherwise, please post them!
Haven't tried that, though if it works, seems like it's not exactly what you're asking for but a workaround.
I tried to do it this way, but it doesn't work very well:
soundPlayer.getSystemVolume((volume) => {
soundPlayer.setVolume(Math.pow(1 / volume, 2));
soundPlayer.play();
});
Just const the sound of the device that comes to mind. :)
:clipboard: Description
Is there any way in iOS to keep playing a sound file at a constant sound volume? So no matter if the user did set the ringtone of his phone to very low volume, I still want to play my audio file at the same volume as if the phone was set to loud. Kind of like what Siri does. She's also independent of every other sound-volume setting.
Thanks