---
title: "recordsVideoOrientationAndMirroringChangesAsMetadataTrack(for:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturemoviefileoutput/recordsvideoorientationandmirroringchangesasmetadatatrack(for:)"
---

# recordsVideoOrientationAndMirroringChangesAsMetadataTrack(for:)

A Boolean value that indicates whether the movie file output records video orientation and mirroring information as a metadata track.

## Declaration

```swift
func recordsVideoOrientationAndMirroringChangesAsMetadataTrack(for connection: AVCaptureConnection) -> Bool
```

## Parameters

- `connection`: A connection delivering video media to the movie file output. This method throws an invalid argument exception if the value isn’t a video connection or if the connection doesn’t terminate at the movie file output.

## See Also

### Setting orientation

- [setRecordsVideoOrientationAndMirroringChangesAsMetadataTrack(_:for:)](avfoundation/avcapturemoviefileoutput/setrecordsvideoorientationandmirroringchangesasmetadatatrack(_:for:).md)
