AVPlannedSegmentWritingRequest
AVPlannedSegmentWritingRequest encompasses a request from the AVAssetWritingPlanner to the client code to write one incremental track segment.
Declaration
class AVPlannedSegmentWritingRequestOverview
The client should respond to this request by writing the specified time range of data to a movie file at the specified segmentFileOutputURL, with start PTS zero. The client’s writing work may be completed asynchronously. If it completes successfully, clients must call the -finish or -finishWithClientState method on the request object. If writing the segment fails, clients must call the -finishWithError: method on the request object. If segment writing needs to be stopped before reaching the end of the segment, clients must call -cancel.