- Home /
Record video and sound from device camera and show it as a texture
I need to record+show video from real device camera in ios/unity and show that video as a texture in RawImage (Image of what I want)
I searched entire internet for the solution, and yet I can't find one
What I did so far :
Unity WebCamTexture API : It show the camera in a texture but it has two problem first it does not have any api to save video! and second It does not record audio
Camera Capture Plugin : I baught this plugin but It does not have the feature to show video in a texture . It just open device camera application
EverPlay plugin : I tried this plugin , it seem that it just make video from screen and not the real device camera
Unity Video Capture API : There is also this api for recording video with sound but unfortunately it is part of windows mixed reality and does not support ios
Using Object C : I tried to write the video recording section directly in object c , I did it but I didn't find any way to embedded that in unity scene , and I'm not sure if that's even possible? ( image from what I did)
I appreciate any other solutions that can help ,thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220612162449im_/https://answers.unity.com/themes/thub/images/avi.jpg)