Type Property

voiceChat

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

Declaration

static let voiceChat: AVAudioSession.Mode

Discussion

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.