- Home /
Video record in Unity (Android/IOS)
I need to video record from the webcam device but I can't find any concrete code. The project must run at least on android but ideally I'd like to test it on windows (editor) and ios devices as well. If it helps I already have a method that successfully passes webcam frames into a texture to show them in the scene but I don't know how to convert this to an mp4 video.
Thanks for any help.
Answer by schashm3 · May 05, 2020 at 10:40 AM
the easy way without headache is just use NatCorder asset. and also UnityNativeCamera.for free.
https://github.com/yasirkula/UnityNativeCamera
https://assetstore.unity.com/packages/tools/integration/natcorder-video-recording-api-102645
I'll give UnityNativeCamera a second look. I will consider the paid asset store if I can't make the free asset work. Thanks for your input.