Type Property

videoChat

Specify this mode if your app is engaging in online video conferencing.

Declaration

static let videoChat: AVAudioSession.Mode

Discussion

This mode is intended for video chat apps and can only be used with the playAndRecord or record categories. 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 video chat.

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