<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioSessionMode_VideoRecording",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioSessionMode_Default@kAudioSessionMode_VideoRecording"
  },
  "title" : "kAudioSessionMode_VideoRecording"
}
-->

# kAudioSessionMode_VideoRecording

Specify this mode if your app is recording a movie.

```
var kAudioSessionMode_VideoRecording: Int { get }
```

## Discussion

For use with the [`kAudioSessionCategory_RecordAudio`](/documentation/AudioToolbox/kAudioSessionCategory_RecordAudio) audio session category. Also works with the [`kAudioSessionCategory_PlayAndRecord`](/documentation/AudioToolbox/kAudioSessionCategory_PlayAndRecord) category. On devices with more than one built-in microphone, the microphone closest to the video camera is used.

Using this mode may result in the system providing appropriate audio signal processing.

This mode is equivalent to the <doc://com.apple.documentation/documentation/AVFAudio/AVAudioSession/Mode-swift.struct/videoRecording> mode provided in the AVFoundation framework.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)