iOS VTCompressionSession
has a property which is kVTCompressionPropertyKey_MaxH264SliceBytes
. However, I cannot set the kVTCompressionPropertyKey_MaxH264SliceBytes
property of VTCompressionSession
. It returns a -12900 error code (kVTPropertyNotSupportedErr) and the description in VTCompressionProperties.h file says "If supported by an H.264 encoder, the value limits the size in bytes of slices produced by the encoder, where possible."
So I understand that usage of this property is supported for some encoder settings. Does anybody know what that settings are?
Thanks.