Instance Method

cancelAllPendingVideoCompositionRequests()

Directs a custom video compositor object to cancel or finish all pending video composition requests.

Declaration

optional func cancelAllPendingVideoCompositionRequests()

Discussion

Upon receiving this message, a custom video compositor must block until it has either cancelled all pending frame requests, and called the finishCancelledRequest() method for each of them. If cancellation is not possible, the method must block until it has finished processing of all the frames and called the finish(withComposedVideoFrame:) method for each of them.

See Also

Rendering the Composition

func startRequest(AVAsynchronousVideoCompositionRequest)

Directs a custom video compositor object to create a new pixel buffer composed asynchronously from a collection of sources.

Required.