Sound class conflicting with Native Mic Recording iOS
Hi,
I found out that Adobe Air Sound playing class is conflicting with microphone recording using native extension. The sound classs overrides the Audio Session used in recording extension written in ObjC (ios platform). By default, the extension set audio session to PlayAndRecord.
However after a sound play in AS3, new Sound(), sound.play(); the mic will stop getting any input.
If sound is played via a native extension using AVAudioPlayer, mic and sound play will work perfectly.
We have tried fixes by setting different modes in Adobe Air (after and before a sound play)
SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;
SoundMixer.audioPlaybackMode = AudioPlaybackMode.MEDIA;
SoundMixer.audioPlaybackMode = AudioPlaybackMode.VOICE;
Adobe needs to provide all the Audio Session available in iOS platform, eg. PlayAndRecord.
This is crucial for mic input Apps, we are working a lot with audio fingerprinting, please add this audio session.
I have submitted a bug report for this. https://bugbase.adobe.com/index.cfm?event=bug&id=3628271
Actual Result:
After a sound play through AS3, native mic will stop working as audio session seems to be conflicting each other
Expected Result:
Both mic and sound playing work perfectly
Any Workarounds:
Play via a native extension
