---
title: ancillaryDataEncoder
framework: AVFoundation
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+]
path: avfoundation/avcapturebroadcastvideooutput/ancillarydataencoder
---

# ancillaryDataEncoder

The AVCaptureAncillaryDataEncoder that sends per-frame lens/camera/user-defined acquisition data along with the video buffer.

## Declaration

```swift
var ancillaryDataEncoder: AVCaptureAncillaryDataEncoder { get }
```

## Discussion

Discussion This property provides access to the ancillary data encoder to set user-defined data or disable ancillary data encoding entirely.
