- I used the AR Starter Kit PlayCanvas 3D HTML5 Game Engine
When I deployed on my own server, the android runtime called the front-facing camera.
- I saw the related post before
-
Here’s the solution
-
How can I change it?
When I deployed on my own server, the android runtime called the front-facing camera.
Here’s the solution
How can I change it?
Hi @chuxinhao,
I think your code is correct, the issue may be a combination of browser/device that isn’t supporting the getUserMedia constraints given.
Facing mode is the preferred starting camera but it won’t always guarantee that would be the case. This isn’t specific to AR or Playcanvas, but how getUserMedia() is implemented and supported on each browser/device.
I see. Thank you