<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureFileOutputRecordingDelegate/fileOutput(_:didPauseRecordingTo:from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCaptureFileOutputRecordingDelegate(im)captureOutput:didPauseRecordingToOutputFileAtURL:fromConnections:"
  },
  "title" : "fileOutput(_:didPauseRecordingTo:from:)"
}
-->

# fileOutput(_:didPauseRecordingTo:from:)

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

```
optional func fileOutput(_ output: AVCaptureFileOutput, didPauseRecordingTo fileURL: URL, from connections: [AVCaptureConnection])
```

## Parameters

`output`

The capture file output that has paused its file recording.

`fileURL`

The file URL of the file that is being written.

`connections`

An array of [`AVCaptureConnection`](/documentation/AVFoundation/AVCaptureConnection) objects attached to the file output that provided the data that is being written to the file.

## Discussion

This method is called whenever a request to pause recording is actually respected.

It is safe for delegates to change what the file output is currently doing (starting a new file, for example) from within this method. If recording to a file is stopped, either manually or due to an error, this method is not guaranteed to be called, even if a previous call to `pauseRecording` was made.

You should not assume that this method will be called on a specific thread, and should make this method as efficient as possible.

---

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)