Notifies the delegate that a video frame was discarded.
- iOS 6.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
The capture output object.
CMSampleobject containing information about the dropped frame, such as its format and presentation time.
This sample buffer contains none of the original video data.
The connection from which the video was received.
Delegates receive this message whenever a late video frame is dropped. This method is called once for each dropped frame. It is called on the dispatch queue specified by the output’s
sample will contain a
k attachment that details why the frame was dropped. The frame may be dropped because it was late (
k), typically caused by the client’s processing taking too long. It can also be dropped because the module providing frames is out of buffers (
k). Frames can also be dropped if the module providing sample buffers has experienced a discontinuity (
k) and an unknown number of frames have been lost. This condition is typically caused by the system being too busy.
Because this method is called on the same dispatch queue that is responsible for outputting video frames, it must be efficient to prevent further capture performance problems, such as additional dropped video frames.