<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCaptureFileOutputRecordingDelegate"
  },
  "title" : "AVCaptureFileOutputRecordingDelegate"
}
-->

# AVCaptureFileOutputRecordingDelegate

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

```
protocol AVCaptureFileOutputRecordingDelegate : NSObjectProtocol
```

## Overview

Defines an interface for delegates of [`AVCaptureFileOutput`](/documentation/AVFoundation/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.

## Topics

### Delegate methods

[`fileOutput(_:didStartRecordingTo:from:)`](/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:didStartRecordingTo:from:))

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

[`fileOutput(_:didStartRecordingTo:startPTS:from:)`](/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:didStartRecordingTo:startPTS:from:))

[`fileOutput(_:willFinishRecordingTo:from:error:)`](/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:willFinishRecordingTo:from:error:))

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

[`fileOutput(_:didFinishRecordingTo:from:error:)`](/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:didFinishRecordingTo:from:error:))

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

[`fileOutput(_:didPauseRecordingTo:from:)`](/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:didPauseRecordingTo:from:))

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

[`fileOutput(_:didResumeRecordingTo:from:)`](/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:didResumeRecordingTo:from:))

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)