Contents

inputOrientation

An orientation value that dictates which directions represent left and right when capturing audio from a built-in microphone configured for stereo recording.

Declaration

var inputOrientation: AVAudioSession.StereoOrientation { get }

Discussion

If you’re recording video, set the input orientation to match the video orientation. If you’re recording audio only, set the input orientation to match the user interface orientation. In either case, don’t modify the input orientation during recording.

See Also

Enabling stereo recording