The prototype for the block invoked when frame decompression is complete.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 10.2+
noif decompression was successful; an error code if decompression was not successful.
The decompressed frame, if decompression was successful; otherwise,
The frame's presentation timestamp; otherwise,
kif the timestamp is not available.
The frame's presentation duration; kCMTimeInvalid if the timestamp is not available.
When you decode a frame, you pass in a callback block to be called for that decompressed frame. This block is not necessarily called in display order.