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.

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