Ok, I can get the status now. Just as I expected I have more debugging to do for decoding.
But what I did to fix the issue was use this override for VTDecompressionSessionDecodeFrame() instead of the other option:
func VTDecompressionSessionDecodeFrame(
_ session: VTDecompressionSession,
sampleBuffer: CMSampleBuffer,
flags decodeFlags: VTDecodeFrameFlags,
infoFlagsOut: UnsafeMutablePointer<VTDecodeInfoFlags>?,
outputHandler: @escaping VTDecompressionOutputHandler
) -> OSStatus
Topic:
Programming Languages
SubTopic:
Swift
Tags: