Indicates whether to rotate the video flowing through the connection to a given orientation.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
This property is only applicable to connections involving video.
If the value of
YES, you can set
video to rotate the video buffers consumed by the connection’s output. Setting
video doesn’t necessarily result in a physical rotation of video buffers. For example, a video connection to an
AVCapture object handles orientation using a QuickTime track matrix. A video connection to an
AVCapture object handles orientation using Exif tags.
AVCapture clients may receive physically rotated pixel buffers in their
capture delegate callback. The
AVCapture hardware accelerates the rotation operation and supports all four
AVCapture modes. A client sets
video on the video data output’s video
AVCapture to request physical buffer rotation.