How to turn on the rear camera in the AR Starter Kit?

When I deployed on my own server, the android runtime called the front-facing camera.

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

1 Like