Allowing background music and the mute button on iOS

Thanks for the help. I’m going to dump this issue onto my low priority pile for now. Maybe I’ll make a feature request.

Problem is solved it looks like!

An anonymous hero posted here: http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/5416670-allow-external-music-audio-to-keep-playing-in-back

And he is using

[lua]audio.setSessionProperty(audio.MixMode, audio.AmbientMixMode)[/lua]

instead of :

[lua]audio.setSessionProperty(audio.OverrideMixWithOthers, audio.MediaPlaybackMixMode)[/lua]

And so far in my tests it is working perfectly, very happy with this. 

Former CoronaLabs audio engineer Eric Wing (ewing) talked about these settings here:

http://forums.coronalabs.com/topic/8742-new-audiosession-properties/

Ok that is good thread. I just noticed in my code I used to have that “new” method but eventually commented it out and put that non working instead  :wacko:

Problem is solved it looks like!

An anonymous hero posted here: http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/5416670-allow-external-music-audio-to-keep-playing-in-back

And he is using

[lua]audio.setSessionProperty(audio.MixMode, audio.AmbientMixMode)[/lua]

instead of :

[lua]audio.setSessionProperty(audio.OverrideMixWithOthers, audio.MediaPlaybackMixMode)[/lua]

And so far in my tests it is working perfectly, very happy with this. 

Former CoronaLabs audio engineer Eric Wing (ewing) talked about these settings here:

http://forums.coronalabs.com/topic/8742-new-audiosession-properties/

Ok that is good thread. I just noticed in my code I used to have that “new” method but eventually commented it out and put that non working instead  :wacko:

Also check my pro tip

http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-30/

I always read your tips Lerg, thanks for those, great stuff.

Also check my pro tip

http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-30/

I always read your tips Lerg, thanks for those, great stuff.