kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder

Static kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder 

Source
pub unsafe static kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder: &'static CFString
Available on crate feature VTCompressionProperties only.
Expand description

If set to kCFBooleanTrue, use a hardware accelerated video encoder if available. If set to kCFBooleanFalse, hardware encode will never be used.

This key is set in the encoderSpecification passed in to VTCompressionSessionCreate. Set it to kCFBooleanTrue to allow hardware accelerated encode. To prevent hardware encode, this property can be set to kCFBooleanFalse. In MacOS 10.15 and later, hardware encode is enabled in VTCompressionSessions by default.

See also Apple’s documentation