Merge pull request #581 from Informatic/fix/firefox-webcam

front: fix webrtc webcam feed on Firefox
This commit is contained in:
David Négrier 2021-01-20 16:27:45 +01:00 committed by GitHub
commit aa9a21ad4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ if(localValueVideo){
let videoConstraint: boolean|MediaTrackConstraints = {
width: { min: 640, ideal: 1280, max: 1920 },
height: { min: 400, ideal: 720 },
frameRate: {exact: valueVideo, ideal: valueVideo},
frameRate: { ideal: valueVideo },
facingMode: "user",
resizeMode: 'crop-and-scale',
aspectRatio: 1.777777778