Type Property


Specify this mode if your app is performing two-way voice communication, such as using Voice over Internet Protocol (VoIP).


static let voiceChat: AVAudioSession.Mode


This mode is intended for Voice over IP (VoIP) apps and can only be used with the playAndRecord category. When this mode is used, the device’s tonal equalization is optimized for voice and the set of allowable audio routes is reduced to only those appropriate for voice chat.

Using this mode has the side effect of enabling the allowBluetooth category option.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software