iPhone – Configuring the AVAudioSession and Output Audio to iPhone Speaker

I am working on the AVAudioRecorder and AVAudioPlayer. By default, the output audio is routed to the receiver instead of the iPhone speaker. In order to fulfill my requirement, i have to configure the AVAudioSession in the AppDelegate. There are 2 ways to route the audio output to speaker. Overriding the output audio route Changing … Continue reading iPhone – Configuring the AVAudioSession and Output Audio to iPhone Speaker