Hi,
I created a plugin for an iOS library. All is completely fine except that the plugin is using the front camera.
Is there a way in Unity to stream this camera.
WebCamTexture doesn’t work in this case, so I was wandering if there is a way around this.
Thanks,
Ivan
WebCamTexture can be configured to use front facing camera. Unity - Scripting API: WebCamTexture.WebCamTexture
Did you try it and run into issues?
Yes, I did try it. The problem is the camera gets captured by another consumer, and it is just black. I was hoping that there is a way in Unity to access the native iOS stream. The plugin provides a CALayer* to display the camera, but I am not sure how to use that.