Skip to main content
Participant
October 26, 2012
Question

Sound problems after upgrading to iOS6

  • October 26, 2012
  • 2 replies
  • 696 views

Hello,

Our team made an apllication wich record voice and uses native extension (MediaPicker) to play music from iPod library. App worked fine (iOS 5.1)* untill we've upgraded some devices to iOS 6.

Sounds and recordings in app work great until you use MediaPicker to listen to your song from iPod. When you stop playing your iPod music - you can't hear recorded voice notes. App is dumb. You can play your notes (progress bar working) but there is no sound. It looks like the iPod blocks the speakers.

Ok, and this isn't the end . When you switch to other application or turn your iPhone/iPad to sleep mode and return to our app the sound works fine again (looks like the app has to work in background for the while to get access to speaker).

Does anybody have the same issue? Do you have any suggestions on what the problem is and how to fix it?

*We also made the same app for Android and works great.

This topic has been closed for replies.

2 replies

Participant
October 31, 2012

Hi,

I am also working on an app whith an ANE using iOS audio features, that's not working correctly since iOS6. In my case it's the ANE that is recording. Are you using the AudioToolBox framework method "AudioSessionSetProperty" in your ANE ? In a native application you should use it to gain access to speakers, microphone, or ambiant sounds. From what I understand (and I may be wrong), AIR automatically handle it depending if you ask for microphone or if you play sound in your actionscript code. But if your ANE also needs audio features, it may conflict with what the AIR app requested. What worked for me is to prevent the ANE to use this AudioSessionSetProperty method.

Hope that helped.

Inspiring
October 26, 2012

Do you have access to the MediaPicker extension source? I wonder if building it by targeting the 6.0 SDK would fix the problem.