Fix: Firefox doesn't show the webcam permission dialogue

This commit is contained in:
Thomas Basler 2021-01-06 04:01:25 +01:00
parent 4242abcc52
commit e3f539ca8e
1 changed files with 1 additions and 1 deletions

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