Airplay, AVCaptureSession and AVAudioSessionCategoryPlayAndRecord echoing

Originator:chris
Number:rdar://15167517 Date Originated:10/7/2013
Status:Duplicate of 15179339 Resolved:7.0.3
Product:iOS SDK Product Version:iOS 7
Classification:Bug Reproducible:Always
 
OS will echo recorded audio when Airplay mirroring is turned on and using AVCaptureSession with the AVAudioSessionCategoryPlayAndRecord category set. This only occurs on iOS 7 (through 7.0.2 so far) and not on iOS 6. I have only tested on an iPad, though I would expect this to also occur on an iPhone.

Steps to Reproduce:
Create an application that records audio using the AVCaptureSession with the AVAudioSessionCategoryPlayAndRecord category. Turn on Airplay mirroring and begin recording audio.

Tap the microphone and you will hear an audible echo from the speaker as the tap was echoed and then picked up by the microphone.

Expected Results:
There should be no sound output to the speaker.

Actual Results:
The speaker echos the input to the microphone, despite no output audio routes configured.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!