GetUserMedia - facingMode not recognized despite adapter.js
问题 I want to get the video stream of my rear camera in an Ionic Application. For this, I use getUserMedia that work correctly for the front camera. When I change the facing mode to 'environment' I got this error : Unknown constraint named facingMode rejected ConstraintNotSatisfiedError In my Ionic application I have already installed the npm package "webrtc-adapter". Here is my code to get the stream from the rear camera : this.constraints = { audio: true, video: {mandatory: { facingMode: