Global Variable

kCGDisplayStreamQueueDepth

This key specifies the number of frames to keep in the queue. If this key is not included in the dictionary, the default value is 3 frames. Specifying more frames uses more memory, but may allow you to process frame data without stalling the display stream. The value associated with this key should be specified as a CFNumber, and should not exceed 8 frames.

Declaration

const CFStringRef kCGDisplayStreamQueueDepth;