Methods for responding to events that occur while recording captured media to a file.


@protocol AVCaptureFileOutputRecordingDelegate


Defines an interface for delegates of AVCaptureFileOutput to respond to events that occur in the process of recording a single file.

The delegate of an AVCaptureFileOutput object must adopt the AVCaptureFileOutputRecordingDelegate protocol.


Delegate Methods

- captureOutput:didStartRecordingToOutputFileAtURL:fromConnections:

Informs the delegate when the output has started writing to a file.

- captureOutput:willFinishRecordingToOutputFileAtURL:fromConnections:error:

Informs the delegate when the output will stop writing new samples to a file.

- captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error:

Informs the delegate when all pending data has been written to an output file.


- captureOutput:didPauseRecordingToOutputFileAtURL:fromConnections:

Called whenever the output is recording to a file and successfully pauses the recording at the request of a client.

- captureOutput:didResumeRecordingToOutputFileAtURL:fromConnections:

Called whenever the output, at the request of the client, successfully resumes a file recording that was paused.


Inherits From

See Also

File Output


The abstract superclass for capture outputs that can record captured data to a file.


Methods for monitoring or controlling the output of a media file capture.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software