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

# AVAssetWriterDelegate

A delegate protocol that defines the methods to implement to respond to asset-writing events.

```
protocol AVAssetWriterDelegate : NSObjectProtocol, Sendable
```

## Topics

### Responding to segment output

[`assetWriter(_:didOutputSegmentData:segmentType:)`](/documentation/AVFoundation/AVAssetWriterDelegate/assetWriter(_:didOutputSegmentData:segmentType:))

Tells the delegate that the asset writer output segment data.

[`assetWriter(_:didOutputSegmentData:segmentType:segmentReport:)`](/documentation/AVFoundation/AVAssetWriterDelegate/assetWriter(_:didOutputSegmentData:segmentType:segmentReport:))

Tells the delegate that the asset writer output segment data and a report.

[`AVAssetSegmentReport`](/documentation/AVFoundation/AVAssetSegmentReport)

An object that provides information about segment data.



---

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)