requiresFlushToResumeDecoding
A Boolean value that Indicates whether the renderer requires flushing to continue decoding frames.
Declaration
var requiresFlushToResumeDecoding: Bool { get }Discussion
When your app enters a state where using a video decoder resources is not permissible, the value of this property changes to true along with the video renderer’s status changing to AVQueuedSampleBufferRenderingStatus.failed. To resume rendering sample buffers, you must first reset the video renderer by calling flush() or flush(removingDisplayedImage:completionHandler:).
This property is not key-value observable. Instead, track changes to this property by observing notifications of type requiresFlushToResumeDecodingDidChangeNotification.