Enable loudspeaker programmatically during a voip call

core-audio, ios, ios5, twilio, voip

Solution

Look up the kAudioSessionProperty_OverrideAudioRoute key and the kAudioSessionOverrideAudioRoute_Speaker property in Apple's Audio Session documentation.

Problem

I want to enable loudspeaker programmatically during a voip call in ios app. Is it possible and how?

Original source

Related problems