<!--
{
  "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/AVCaptureFileOutput/resumeRecording()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureFileOutput(im)resumeRecording"
  },
  "title" : "resumeRecording()"
}
-->

# resumeRecording()

Resumes recording to the current output file after it was previously paused using [`pauseRecording()`](/documentation/AVFoundation/AVCaptureFileOutput/pauseRecording()).

```
func resumeRecording()
```

## Discussion

This method causes the receiver to resume writing captured samples to the current output file returned by [`outputFileURL`](/documentation/AVFoundation/AVCaptureFileOutput/outputFileURL), after recording was previously paused using [`pauseRecording()`](/documentation/AVFoundation/AVCaptureFileOutput/pauseRecording()). This allows you to record multiple media segments that are not contiguous in time to a single file.

In macOS, if this method is called within the captureOutput:didOutputSampleBuffer:fromConnection: delegate method, the first samples written to the current file are guaranteed to be those contained in the sample buffer passed to        that method.

## See Also

[`isRecordingPaused`](/documentation/AVFoundation/AVCaptureFileOutput/isRecordingPaused)

Indicates whether recording to the current output file is 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)