Contents

markConfigurationAsFinal()

Tells the output that it’s finished reconfiguring time ranges, and allows the asset reader to advance to a completed state.

Declaration

func markConfigurationAsFinal()

Discussion

When the value of the supportsRandomAccess property is true, the asset reader doesn’t advance to an AVAssetReader.Status.completed state until you call this method.

After you call this method, you can’t make further calls to the reset(forReadingTimeRanges:) method.

When the destination of the output’s media data is an AVAssetWriterInput that you configure for multi-pass encoding, an appropriate time to call this method is after the asset writer input indicates that it doesn’t require performing additional passes.

See Also

Configuring reading