alwaysDiscardsLateVideoFrames
Indicates whether to drop video frames if they arrive late.
Declaration
var alwaysDiscardsLateVideoFrames: Bool { get set }Discussion
If this property is true, the output immediately discard frames that captured while the dispatch queue handling existing frames blocks in the captureOutput(_:didOutput:from:) delegate method. When set to false, 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 true.
See Also
Configuring video capture
videoSettingsVideo settingsautomaticallyConfiguresOutputBufferDimensionsdeliversPreviewSizedOutputBufferspreparesCellularRadioForNetworkConnectionpreservesDynamicHDRMetadatarecommendedMediaTimeScaleForAssetWriterrecommendedMovieMetadata(forVideoCodecType:assetWriterOutputFileType:)recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:)recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:outputFileURL:)recommendedVideoSettingsForAssetWriter(writingTo:)