- Home /
How to save native video feed from iPhone camera
Hi all Unity Developers !
I'm creating an ARFoundation App (ARKit to be more precise) very basic (just looking at an AR object standing on the ground). The most complicated part that i would like to achieve is that, at the same time the app is running, i would like to save the native video feed of the iphone WITHOUT anything of the app on top (no 3D object, no UI, just the iphone video feed) in mp4 format, with 30fps fixed framerate.
I looked for hours some assets that could help but most of them record the full screen... Do I have to use a second camera attached to the ARcamera and with all layers off ? Do I have to use ReplayKit ? (or NatCam / NatCorder / NextGenRecorder but they aren't free) Do I have to deal with WebCamTexture (seems to be a bit complex with all the GetPixels, screen orientation issues and the encode to mp4 stuffs...) ?
Your answer
![](https://koobas.hobune.stream/wayback/20220612212905im_/https://answers.unity.com/themes/thub/images/avi.jpg)