Prototype for the block invoked when frame compression is complete.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 10.2+
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 encode a frame, you pass in a callback block to be called for that compressed frame. This block is called in decode order (which is not necessarily the same as display order).