<!--
{
  "availability" : [
    "Xcode: 16.0.0 -",
    "iOS: 15.0.0 -"
  ],
  "documentType" : "article",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/avmulticampip-capturing-from-multiple-cameras",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "AVMultiCamPiP: Capturing from Multiple Cameras"
}
-->

# AVMultiCamPiP: Capturing from Multiple Cameras

Simultaneously record the output from the front and back cameras into a single movie file by using a multi-camera capture session.

## Overview

> Note: This sample code project is associated with WWDC 2019 session [225: Advances in Camera Capture & Portrait Segmentation](https://developer.apple.com/videos/play/wwdc19/225/).

### Configure the sample code project

You must run this sample code on one of these devices:

- An iPhone with an A12 or later processor
- An iPad Pro with an A12X or later processor

---

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)