VTCompressionSessionCompleteFrames(_:untilPresentationTimeStamp:)
Forces the compression session to complete the encoding of frames.
Declaration
func VTCompressionSessionCompleteFrames(_ session: VTCompressionSession, untilPresentationTimeStamp completeUntilPresentationTimeStamp: CMTime) -> OSStatusParameters
- session:
The compression session.
- completeUntilPresentationTimeStamp:
The timestamp at which to complete frame encoding.
Discussion
If completeUntilPresentationTimeStamp is numeric, frames with presentation timestamps up to and including this timestamp are emitted before the function returns.
If completeUntilPresentationTimeStamp is non-numeric, all pending frames are emitted before the function returns.
See Also
Encoding Frames
VTCompressionSessionGetPixelBufferPool(_:)VTCompressionSessionPrepareToEncodeFrames(_:)VTCompressionSessionEncodeFrame(_:imageBuffer:presentationTimeStamp:duration:frameProperties:sourceFrameRefcon:infoFlagsOut:)VTCompressionSessionEncodeFrame(_:imageBuffer:presentationTimeStamp:duration:frameProperties:infoFlagsOut:outputHandler:)