Global Variable


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


const AVAudioSessionMode AVAudioSessionModeVideoChat;


This mode is intended for video chat apps and can only be used with the AVAudioSessionCategoryPlayAndRecord or AVAudioSessionCategoryRecord 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 AVAudioSessionCategoryOptionAllowBluetooth category option.