Prototype for the callback invoked when frame compression is complete.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 10.2+
The callback's reference value.
The frame's reference value, copied from the
Frame Ref Con
Session Encode Frame
noif compression was successful; an error code if compression was not successful.
Contains the compressed frame if compression was successful and the frame was not dropped; otherwise,
When you create a compression session, you pass in a callback function to be called for compressed frames. This function is called in decode order (which is not necessarily the same as display order).