How to set ✅ 60 FPS on WebCamTexture?

WebCamTexture provides 30 FPS maximally for the Rear Camera on iPhone XS Max regardless of Application.targetFrameRate, although this camera supports 60FPS, 120FPS and 240 FPS.

Is it a Limitation of WebCamTexture or Bug?
How to set 60 FPS on WebCamTexture?


Update: I released Camera Feed on Background — Unity Asset which operates WebCamTexture class and does all the work for you.

You need to use WebCamTexture.requestedFPS and it doesn’t matter what Application.targetFramerate is. You could run your game at 120 fps and still want a 30 fps video.