Instance Property

alwaysDiscardsLateVideoFrames

Indicates whether to drop video frames if they arrive late.

Declaration

@property(nonatomic) BOOL alwaysDiscardsLateVideoFrames;

Discussion

If this property is YES, the output immediately discard frames that captured while the dispatch queue handling existing frames blocks in the captureOutput:didOutputSampleBuffer:fromConnection: delegate method. When set to NO, the output gives delegates more time to process old frames before it discards new frames, but application memory usage may increase significantly as a result.

The default is YES.

See Also

Configuring Video Capture

videoSettings

The compression settings for the output.

Video Settings Dictionaries

Define output image and video formats by using the key and value constants.

minFrameDuration

The minimum frame duration.

Deprecated
automaticallyConfiguresOutputBufferDimensions

A Boolean value that indicates whether the output automatically configures the size of output buffers.

deliversPreviewSizedOutputBuffers

A Boolean value that indicates whether the output is configured to deliver preview-sized buffers.

- recommendedVideoSettingsForVideoCodecType:assetWriterOutputFileType:

Returns a video settings dictionary appropriate for capturing video to be recorded to a file with the specified codec and type.

- recommendedVideoSettingsForAssetWriterWithOutputFileType:

Specifies the recommended settings for use with an AVAssetWriterInput.