IOVideoUnitError
public enum IOVideoUnitError : Error
The IOVideoUnit error domain codes.
-
The IOVideoUnit failed to attach device.
Declaration
Swift
case failedToAttach(error: (any Error)?)
-
The IOVideoUnit failed to create the VTSession.
Declaration
Swift
case failedToCreate(status: OSStatus)
-
The IOVideoUnit failed to prepare the VTSession.
Declaration
Swift
case failedToPrepare(status: OSStatus)
-
The IOVideoUnit failed to encode or decode a flame.
Declaration
Swift
case failedToFlame(status: OSStatus)
-
The IOVideoUnit failed to set an option.
Declaration
Swift
case failedToSetOption(status: OSStatus, option: VTSessionOption)