Creates a video output object initialized with the specified output settings.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- AVFoundation
Declaration
init(outputSettings: [String : Any]?)
Parameters
outputSettings
The client requirements for output CVPixelBuffer objects, expressed using the constants in
AVVideo
.Settings .h
Discussion
For uncompressed video output, start with k
keys in <Core
. In addition to the keys in CVPixel
, uncompressed video settings dictionaries may also provide a value for AVVideo
.