I am creating a video chat application for iPhone. One of the requirements that should work well with AirPlay. When I switch to AirPlay, the video goes to AppleTV, but the sound remains on the phone. The resulting Speaker-and-EmbeddedMicaudio route, and I see no way to switch the audio route to AppleTV (AirPlay)and continue recording using a microphone.
VideoChatmode is NOT active - I could play audio using AppleTV(AirPlay):

VideoChat active mode - now I have two output devices - a speaker and a speaker:

- Can I use an output session
PlayAndRecordwith the VideoChat
mode turned on? - What is the possible solution for this?