AVAudioSession.PortOverride.speaker
A value that indicates to override the current inputs and outputs, and route audio to the built-in speaker and microphone.
Declaration
case speakerDiscussion
This override type is only valid for the playAndRecord category.